From: Alan Knowles Date: Thu, 19 Mar 2015 10:32:45 +0000 (+0800) Subject: src/Palete/Javascript.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=003e9d5563d93aa2e210951be301c941efb58a28;p=app.Builder.js src/Palete/Javascript.vala tests/JsCoreExecTest.vala.c tests/Javascript.vala.c --- diff --git a/src/Palete/Javascript.vala b/src/Palete/Javascript.vala index c2c48d774..050d7b50d 100644 --- a/src/Palete/Javascript.vala +++ b/src/Palete/Javascript.vala @@ -172,15 +172,15 @@ namespace Palete { } - var res = jscore_object_call_as_function( - ctx, oval, othis, js_data, out exd - ); + //var res = jscore_object_call_as_function( + // ctx, oval, othis, js_data, out exd + // ); // this will never work, as we can not create arrays of Values - due to no // free function being available.. //var args = new JSCore.Value[1] ; //args[0] = new JSCore.Value.string(ctx,json_args) ; - //unowned JSCore.Value res = oval.call_as_function(ctx, othis, null, out exd); + unowned JSCore.Value res = oval.call_as_function(ctx, othis, null, out exd); }