Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit 974f049

Browse files
committed
jslint bosh.js
1 parent bee5023 commit 974f049

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/bosh.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/** File: strophe.js
1515
* A JavaScript library to enable BOSH in Strophejs.
16-
*
16+
*
1717
* this library uses Bidirectional-streams Over Synchronous HTTP (BOSH)
1818
* to emulate a persistent, stateful, two-way connection to an XMPP server.
1919
* More information on BOSH can be found in XEP 124.
@@ -150,7 +150,7 @@ Strophe.Bosh = function(connection) {
150150
this.window = 5;
151151

152152
this._requests = [];
153-
}
153+
};
154154

155155
Strophe.Bosh.prototype = {
156156
/** PrivateFunction: _buildBody
@@ -309,7 +309,7 @@ Strophe.Bosh.prototype = {
309309
},
310310

311311
/** PrivateFunction: _no_auth_received
312-
*
312+
*
313313
* Called on stream start/restart when no stream:features
314314
* has been received and sends a blank poll request.
315315
*/
@@ -331,7 +331,7 @@ Strophe.Bosh.prototype = {
331331

332332
/** PrivateFunction: _onDisconnectTimeout
333333
* _Private_ timeout handler for handling non-graceful disconnection.
334-
*
334+
*
335335
* Cancels all remaining Requests and clears the queue.
336336
*/
337337
_onDisconnectTimeout: function ()
@@ -349,8 +349,8 @@ Strophe.Bosh.prototype = {
349349

350350
/** PrivateFunction: _onIdle
351351
* _Private_ handler called by Strophe.Connection._onIdle
352-
*
353-
* Sends all queued Requests or polls with empty Request if there are none.
352+
*
353+
* Sends all queued Requests or polls with empty Request if there are none.
354354
*/
355355
_onIdle: function () {
356356
var data = this._conn._data;

0 commit comments

Comments
 (0)