[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/master] Fix two typos
commit a3447ddb13c279e7e4c384610b98a045e7f932bb
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
Date: Tue May 22 08:40:01 2018 +0000
Fix two typos
---
src/chrome/content/tor-circuit-display.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/chrome/content/tor-circuit-display.js b/src/chrome/content/tor-circuit-display.js
index cb43499..cbea569 100644
--- a/src/chrome/content/tor-circuit-display.js
+++ b/src/chrome/content/tor-circuit-display.js
@@ -282,13 +282,13 @@ let xmlTree = function xmlTree (ns, data) {
// __htmlTree(data)__.
// Takes a data structure representing html elements like
// [tag, { attr-key: attr-value }, ...html-children]
-// and return nested html element objects.
+// and returns nested html element objects.
let htmlTree = data => xmlTree("http://www.w3.org/1999/xhtml", data);
// __appendHtml(parent, data)__.
// Takes a data structure representing html elements like
// [tag, { attr-key: attr-value }, ...html-children]
-// and append nested html element objects to the parent element.
+// and appends nested html element objects to the parent element.
let appendHtml = (parent, data) => parent.appendChild(htmlTree(data));
// __circuitCircuitData()__.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits