mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Fix defer for webkit in a webworker.
This commit is contained in:
@@ -202,7 +202,7 @@
|
||||
*/
|
||||
|
||||
util.defer = function (fn) {
|
||||
if (!util.ua.webkit) {
|
||||
if (!util.ua.webkit || 'undefined' != typeof importScripts) {
|
||||
return fn();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user