src/Palete/Javascript.vala
authorAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 10:32:45 +0000 (18:32 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 10:32:45 +0000 (18:32 +0800)
tests/JsCoreExecTest.vala.c
tests/Javascript.vala.c

src/Palete/Javascript.vala

index c2c48d7..050d7b5 100644 (file)
@@ -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);
 
                        
                }