first stab at querycode - works but one needs to select the lang for now
[unfold.git] / engine / static / js / manifold-pubsub.js
index dc5c6f7..54dba52 100644 (file)
@@ -104,12 +104,12 @@ function clone_object(obj) {
 }(jQuery));
 
 
-function executeFunctionByName(functionName, context /*, args */) {
-  var args = Array.prototype.slice.call(arguments).splice(2);
-  var namespaces = functionName.split(".");
-  var func = namespaces.pop();
-  for(var i = 0; i < namespaces.length; i++) {
-    context = context[namespaces[i]];
-  }
-  return context[func].apply(this, args);
-}
+//function executeFunctionByName(functionName, context /*, args */) {
+//  var args = Array.prototype.slice.call(arguments).splice(2);
+//  var namespaces = functionName.split(".");
+//  var func = namespaces.pop();
+//  for(var i = 0; i < namespaces.length; i++) {
+//    context = context[namespaces[i]];
+//  }
+//  return context[func].apply(this, args);
+//}