console.log ("debug_dict_keys: " + msg + " keys= " + keys);
}
function debug_dict (msg, o) {
- for (var k in o) console.log ("debug_dict_keys: " + msg + " [" + k + "]=" + o[k]);
+ for (var k in o) console.log ("debug_dict: " + msg + " [" + k + "]=" + o[k]);
}
function debug_value (msg, value) {
console.log ("debug_value: " + msg + " " + value);
function debug_query (msg, query) {
if (query === undefined) console.log ("debug_query: " + msg + " -> undefined");
else if (query == null) console.log ("debug_query: " + msg + " -> null");
- else if ('query_uuid' in query) console.log ("debug_query: " + msg + " query_uuid= " + query.query_uuid);
+ else if ('query_uuid' in query) console.log ("debug_query: " + msg + query.__repr());
else console.log ("debug_query: " + msg + " query= " + query);
}
// input queries are specified as a list of {'query_uuid': <query_uuid>, 'id': <possibly null>}
asynchroneous_exec : function (query_uuid_domids) {
// start spinners
+
+ if (manifold.asynchroneous_exec) console.log("Turning spin on with " + jQuery(".need-spin").length + " matches for need-spin");
jQuery('.need-spin').spin();
// We use js function closure to be able to pass the query (array) to the