diff options
author | Jose <jose@zeroc.com> | 2015-01-29 23:47:05 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-01-29 23:47:05 +0100 |
commit | 75d92841b8070f31cb915c1d2c336e1c05a55f50 (patch) | |
tree | 1819f72cf5b59afed9cbfd92c9ea1adf0e973486 /js/src/Ice/browser/TimerUtil.js | |
parent | more IPv6 fixes (diff) | |
download | ice-75d92841b8070f31cb915c1d2c336e1c05a55f50.tar.bz2 ice-75d92841b8070f31cb915c1d2c336e1c05a55f50.tar.xz ice-75d92841b8070f31cb915c1d2c336e1c05a55f50.zip |
Fix Woker code to work with minified versions
Diffstat (limited to 'js/src/Ice/browser/TimerUtil.js')
-rw-r--r-- | js/src/Ice/browser/TimerUtil.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/Ice/browser/TimerUtil.js b/js/src/Ice/browser/TimerUtil.js index f15273882f0..de6b5514ed2 100644 --- a/js/src/Ice/browser/TimerUtil.js +++ b/js/src/Ice/browser/TimerUtil.js @@ -98,7 +98,8 @@ Timer.onmessage = function(e) function workerCode() { - function w() + return "(" + + function() { // // jshint worker: true @@ -148,8 +149,7 @@ function workerCode() // // jshint worker: false // - } - return w.toString() + "w();"; + }.toString() + "());"; } if(worker === undefined) |