Skip to content

Commit 47fb439

Browse files
authored
Merge pull request #158 from QuickBlox/gh-pages.2609
UPD strophe lib
2 parents c8c4404 + 1b02392 commit 47fb439

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"crypto-js": "3.1.2-2",
4545
"jquery": "^2.2.0",
4646
"request": "^2.48.0",
47-
"strophe": "~1.2.4",
47+
"strophe.js": "^1.2.8",
4848
"xml2js": "^0.4.13"
4949
},
5050
"devDependencies": {

quickblox.min.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/modules/qbChat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var isBrowser = typeof window !== "undefined";
1313
var unsupported = "This function isn't supported outside of the browser (...yet)";
1414

1515
if (isBrowser) {
16-
require('strophe');
16+
require('strophe.js');
1717
// add extra namespaces for Strophe
1818
Strophe.addNamespace('CARBONS', 'urn:xmpp:carbons:2');
1919
Strophe.addNamespace('CHAT_MARKERS', 'urn:xmpp:chat-markers:0');

src/modules/webrtc/qbWebRTCSignalingProcessor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* WebRTC Module (WebRTC signaling provider)
44
*/
55

6-
require('strophe');
6+
require('strophe.js');
77

88
var Helpers = require('./qbWebRTCHelpers');
99
var SignalingConstants = require('./qbWebRTCSignalingConstants');

src/modules/webrtc/qbWebRTCSignalingProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* WebRTC Module (WebRTC signaling processor)
44
*/
55

6-
require('strophe');
6+
require('strophe.js');
77

88
var Helpers = require('./qbWebRTCHelpers');
99
var SignalingConstants = require('./qbWebRTCSignalingConstants');

src/qbStrophe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*/
77

8-
require('strophe');
8+
require('strophe.js');
99
var config = require('./qbConfig');
1010
var Utils = require('./qbUtils');
1111

0 commit comments

Comments
 (0)