diff --git a/.travis.yml b/.travis.yml index 9db1486..2f06528 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ env: - TARGET=interp - TARGET=macro # optional: MACROFLAGS: specify the flags that are unique to building/running with --macro arguments - - TARGET=js TOOLCHAIN=default HXFLAGS_EXTRA="-D nodejs -js js.js" # target is tested by node.js + - TARGET=js TOOLCHAIN=default # target is tested by node.js # optional: FILENAME # optional: NODECMD: set the command to be run by nodejs - TARGET=js TOOLCHAIN=browser # target is tested by browsers / phantomjs diff --git a/src/bindx/BindxExt.hx b/src/bindx/BindxExt.hx index f3b7416..600a092 100644 --- a/src/bindx/BindxExt.hx +++ b/src/bindx/BindxExt.hx @@ -71,7 +71,7 @@ class BindExt { var chain = prepareBindChain(fields, listener, expr.pos); var res = macro - $b { chain.bind.concat(chain.init).concat([macro function __unbind__():Void { $b { chain.unbind } }]) }; + $b { chain.bind.concat(chain.init).concat([macro function __unbind__():Void $b { chain.unbind } ]) }; trace(new Printer().printExpr(res)); return res; }