[Pkg-javascript-commits] [sockjs-client] 240/350: Get rid of _sockjs_onload

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.

commit b0a7b7c70d9a09e7024b462af68222756f7246b4
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Fri Oct 24 17:03:25 2014 -0400

    Get rid of _sockjs_onload
---
 lib/entry.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/entry.js b/lib/entry.js
index 955b284..342b8a0 100644
--- a/lib/entry.js
+++ b/lib/entry.js
@@ -3,8 +3,3 @@
 var transportList = require('./transport-list');
 
 module.exports = require('./main')(transportList);
-
-// TODO this is needed for iframe transports, but could probably be done a different way.
-if ('_sockjs_onload' in global) {
-  setTimeout(global._sockjs_onload, 1);
-}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list