[Pkg-javascript-commits] [sockjs-client] 169/434: #14 Forgot to update smoke tests.
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch master
in repository sockjs-client.
commit e72a6918c9bd6e89475049de94494dcacb187a35
Author: Marek Majkowski <majek04 at gmail.com>
Date: Wed Oct 12 15:48:37 2011 +0100
#14 Forgot to update smoke tests.
---
tests/html/smoke-reconnect.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/html/smoke-reconnect.html b/tests/html/smoke-reconnect.html
index 060d5aa..6632294 100644
--- a/tests/html/smoke-reconnect.html
+++ b/tests/html/smoke-reconnect.html
@@ -53,7 +53,7 @@
sjs.close();
};
function onclose(e) {
- if (started && e.status === 1000) {
+ if (started && e.code === 1000) {
t0 = (new Date()).getTime();
sjs = new SockJS(client_opts.url + '/echo', protocol, client_opts.sockjs_opts);
sjs.onopen = onopen
@@ -75,7 +75,7 @@
started = true;
protocol = $('#transport').val() || undefined;
log('[starting] ' + protocol);
- onclose({status:1000});
+ onclose({code:1000});
$('#connect').attr('disabled', true);
$('#disconnect').attr('disabled', false);
});
--
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