Permalink
Browse files

added presence here_now to unit test.

  • Loading branch information...
1 parent 038699c commit ac6ea917000b26f9f4db96b706feae78aab0bfa6 @stephenlb stephenlb committed Dec 7, 2012
@@ -464,7 +464,7 @@ function ajax( setup ) {
url += params.join(PARAMSBIT);
}
- xhr.open( 'GET', url, typeof setup.blocking == 'undefined' );
+ xhr.open( 'GET', url, (typeof(setup.blocking === 'undefined')) );
xhr.send();
}
catch(eee) {
@@ -755,7 +755,7 @@ var PDIV = $('pubnub') || {}
channel.disconnected = 0;
channel.reconnect(channel.name);
}
- else channel.err();
+ else channel.error();
});
});
},

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Binary file not shown.
@@ -162,6 +162,9 @@
p.subscribe({
channel : channel,
connect : publish_test,
+ presence : function( message, envelope, channel ) {
+
+ },
callback : function( message, envelope, channel ) {
p.unsubscribe({ channel : channel });
test( message, 'Subscribe Message' );

0 comments on commit ac6ea91

Please sign in to comment.