mctx.api = location.protocol + "//" + location.host + "/" + "api/";
mctx.expected_api_version = 0;
mctx.has_control = false;
-//mctx.debug = true;
+mctx.debug = true;
mctx.statusCodes = {
STATUS_OK : 1
}
$.plot(graphdiv, data);
setTimeout(updater, 500);
- }, function () {alert("It crashed");});
+ }, function () {debugLog("It crashed");});
};
updater();