summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/addon/tern/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/addon/tern/worker.js')
-rwxr-xr-xpublic/vendor/codemirror/addon/tern/worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/addon/tern/worker.js b/public/vendor/codemirror/addon/tern/worker.js
index 48277af8..887f906a 100755
--- a/public/vendor/codemirror/addon/tern/worker.js
+++ b/public/vendor/codemirror/addon/tern/worker.js
@@ -39,6 +39,6 @@ function startServer(defs, plugins, scripts) {
});
}
-var console = {
+this.console = {
log: function(v) { postMessage({type: "debug", message: v}); }
};