first stab at querycode - works but one needs to select the lang for now
[unfold.git] / engine / static / js / manifold-pubsub.js
index 748f240..54dba52 100644 (file)
@@ -1,7 +1,3 @@
-/*
- * This file is included in tophat_render.php
- */
-
 /* getting random error messages with this... -- jordan
    wait until query code is fixed
 jQuery(document).ready(function() {
@@ -108,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);
+//}