Move debug message utils into core

This commit is contained in:
Nick O'Leary
2016-11-02 23:20:48 +00:00
parent 1c3a97a71a
commit 6c36778cac
7 changed files with 311 additions and 262 deletions

View File

@@ -187,11 +187,9 @@
$("#debug-tab-open").click(function(e) {
e.preventDefault();
subWindow = window.open(document.location.toString().replace(/#.*$/,"")+"debug/view/view.html","nodeREDDebugView","menubar=no,location=no,toolbar=no,chrome,height=500,width=600");
/*
* Message format:
*
*
*/
subWindow.onload = function() {
subWindow.postMessage({event:"workspaceChange",activeWorkspace:RED.workspaces.active()},"*");
}
});
$(window).unload(function() {
@@ -256,4 +254,3 @@
});
})();
</script>
<link rel="stylesheet" href="debug/view/style.css">