[Pkg-javascript-commits] [sockjs-client] 247/350: Add back in _sockjs_onload since some servers might depend upon that for iframe bootstrap.

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:26 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 5abe7ab5daaf33fd2853304fea0f21cd6fed21b5
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Mon Oct 27 18:16:05 2014 -0400

    Add back in _sockjs_onload since some servers might depend upon that for iframe bootstrap.
---
 lib/entry.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/entry.js b/lib/entry.js
index 342b8a0..68eb23e 100644
--- a/lib/entry.js
+++ b/lib/entry.js
@@ -3,3 +3,8 @@
 var transportList = require('./transport-list');
 
 module.exports = require('./main')(transportList);
+
+// TODO can't get rid of this until all servers do
+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