From 20d0f5d58de76a1f26a26a000478cad6dd4175b3 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Mon, 25 Aug 2014 13:00:18 -0700 Subject: [PATCH] Correct documentation of interpretSpec --- src/dom-driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom-driver.js b/src/dom-driver.js index 39dcf1f..d5145e0 100644 --- a/src/dom-driver.js +++ b/src/dom-driver.js @@ -74,7 +74,7 @@ function isAttributes(x) { DOMFragment.prototype.interpretSpec = function (spec) { // Fragment specs are roughly JSON-equivalents of SXML. - // spec ::== ["tag", {"attr": "value", ...}, spec, spec, ...] + // spec ::== ["tag", [["attr", "value"], ...], spec, spec, ...] // | ["tag", spec, spec, ...] // | "cdata" if (typeof(spec) === "string" || typeof(spec) === "number") {