[tbb-commits] [torbutton/master] Fix two typos
gk at torproject.org
gk at torproject.org
Tue May 22 08:40:29 UTC 2018
commit a3447ddb13c279e7e4c384610b98a045e7f932bb
Author: Georg Koppen <gk at torproject.org>
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()__.
More information about the tbb-commits
mailing list