summaryrefslogtreecommitdiff
path: root/javascript/jsapi/htmldocument.bnd
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2013-01-02 22:43:29 +0000
committerVincent Sanders <vince@kyllikki.org>2013-01-02 23:14:31 +0000
commitbb10e7131f615b9266d7a1996f561637286e2839 (patch)
tree734ba083b57047fd047fe20074db4de5d0f27b73 /javascript/jsapi/htmldocument.bnd
parent1b8f9daa51c901119d4dc27f82fb993fc8378bd0 (diff)
downloadnetsurf-bb10e7131f615b9266d7a1996f561637286e2839.tar.gz
netsurf-bb10e7131f615b9266d7a1996f561637286e2839.tar.bz2
use a prologue section in the node binding to abstract out javascrip dom node to libdom node conversion
Diffstat (limited to 'javascript/jsapi/htmldocument.bnd')
-rw-r--r--javascript/jsapi/htmldocument.bnd2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/jsapi/htmldocument.bnd b/javascript/jsapi/htmldocument.bnd
index 021694e17..8d5c69eb5 100644
--- a/javascript/jsapi/htmldocument.bnd
+++ b/javascript/jsapi/htmldocument.bnd
@@ -272,7 +272,7 @@ operation createComment %{
}
JSLOG("Creating comment object for dom string \"%s\"",
- dom_string_data(comment));
+ dom_string_data(data_dom));
exc = dom_document_create_comment(private->node,
data_dom,
&comment);