summaryrefslogtreecommitdiff
path: root/test/data/bindings/htmldocument.bnd
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-10-08 00:27:36 +0100
committerVincent Sanders <vince@kyllikki.org>2012-10-08 00:27:36 +0100
commitd3b66100f5fc6459d9d466e20bf0b2054d617b85 (patch)
treecbbcc65363d46b789f884f1fe72559fa4bd68daa /test/data/bindings/htmldocument.bnd
parentf072d31de069e378af37a15d1e1433e5a9e15275 (diff)
downloadnsgenbind-d3b66100f5fc6459d9d466e20bf0b2054d617b85.tar.gz
nsgenbind-d3b66100f5fc6459d9d466e20bf0b2054d617b85.tar.bz2
split out operator body generation
Diffstat (limited to 'test/data/bindings/htmldocument.bnd')
-rw-r--r--test/data/bindings/htmldocument.bnd5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/data/bindings/htmldocument.bnd b/test/data/bindings/htmldocument.bnd
index 8d35df9..9b47433 100644
--- a/test/data/bindings/htmldocument.bnd
+++ b/test/data/bindings/htmldocument.bnd
@@ -37,10 +37,7 @@ operation write %{
if (document->htmlc->parser != NULL) {
dom_hubbub_parser_insert_chunk(document->htmlc->parser, (uint8_t *)txt, length);
}
- JSAPI_SET_RVAL(cx, vp, JSVAL_VOID);
-
- return JS_TRUE;
- %}
+%}
binding document {
type js_libdom; /* the binding type */