diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-11-04 14:07:02 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-11-04 14:07:02 +0200 |
commit | 8a419cd95dad82f649f16d339dbbe3de3bb0db32 (patch) | |
tree | b029447e18f5dd13c9ff9777f92e594f3c6b6bb6 /src/proxyClient.js | |
parent | a9ef49d8c97dcaed3cc7778acf61de978efdd5ff (diff) |
Give names to most manually assigned functions in the .js files, in form "var x = function()" -> "function x()" so that error stack traces and profiling stack traces are more informative and do not contain anonymous functions.
Diffstat (limited to 'src/proxyClient.js')
-rw-r--r-- | src/proxyClient.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxyClient.js b/src/proxyClient.js index 38ea5771..8f4ad7a6 100644 --- a/src/proxyClient.js +++ b/src/proxyClient.js @@ -5,7 +5,7 @@ Module.ctx = Module.canvas.getContext('2d'); var worker = new Worker('{{{ filename }}}.js'); -worker.onmessage = function(event) { +worker.onmessage = function worker_onmessage(event) { var data = event.data; switch (data.target) { case 'stdout': { |