From: Alan Knowles Date: Wed, 18 Mar 2015 11:13:37 +0000 (+0800) Subject: src/Palete/Javascript.vala X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=50e4cc5652c63e273df93772dc24eeeeb6671ac1 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 9fc1861a4..13fe8f912 100644 --- a/src/Palete/Javascript.vala +++ b/src/Palete/Javascript.vala @@ -164,10 +164,10 @@ namespace Palete { // 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) ; + //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, args, out exd); + unowned JSCore.Value res = oval.call_as_function(ctx, othis, null, out exd); }