Unverified Commit a3447ddb authored by Georg Koppen's avatar Georg Koppen
Browse files

Fix two typos

parent 26d4ce95
......@@ -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()__.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment