Skip to content

Commit e0fd2e9

Browse files
author
Igor Khomenko
committed
Merge pull request #104 from QuickBlox/develop.QBWEBSDK-231
QBWEBSDK-231 & issues/13
2 parents 5d82634 + d70aebc commit e0fd2e9

File tree

16 files changed

+18
-9024
lines changed

16 files changed

+18
-9024
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The QuickBlox JavaScript SDK provides a JavaScript library making it even
44
easier to access the QuickBlox cloud communication backend platform.
55

6-
[QuickBlox](https://quickblox.com) is a suite of communication features & data services (APIs, SDKs, code samples, admin panel, tutorials) which help digital agencies, mobile developers and publishers to add great communication functionality to smartphone applications like in Skype, WhatsApp, Viber.
6+
[QuickBlox](https://quickblox.com) is a suite of communication features & data services (APIs, SDKs, code samples, admin panel, tutorials) which help digital agencies, mobile developers and publishers to add great communication functionality to smartphone applications like in Skype, WhatsApp, Viber.
77

88

99
# Install
@@ -75,6 +75,7 @@ The quickblox.js library is build from a number of **CommonJS modules** containe
7575
These modules are combined through [browserify](http://browserify.org/) into a single `quickblox.js` file in the root and so this is the only file that needs to be included in a `<script>` tag OR in a RequireJS application OR in Node.js environment (everywhere). To build the library, use the [Grunt](http://gruntjs.com/) task runner:
7676

7777
* You need to have the dependencies listed in the package.json available, use `npm install` to load them.
78+
* Also you need install jasmine global 'npm i -g jasmine' for tests.
7879
* Change the 'version' properties in next files:
7980
* https://github.com/QuickBlox/quickblox-javascript-sdk/blob/gh-pages/js/qbConfig.js
8081
* https://github.com/QuickBlox/quickblox-javascript-sdk/blob/gh-pages/bower.json

js/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('../../lib/strophe/strophe.min');
16+
require('strophe');
1717
// add extra namespaces for Strophe
1818
Strophe.addNamespace('CARBONS', 'urn:xmpp:carbons:2');
1919
Strophe.addNamespace('CHAT_MARKERS', 'urn:xmpp:chat-markers:0');

js/modules/webrtc/qbWebRTCHelpers.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55

66
var config = require('../../qbConfig');
7-
var download = require('../../../lib/download/download.min');
87

98
var WebRTCHelpers = {};
109

@@ -77,9 +76,4 @@ WebRTCHelpers.CallType = {
7776
AUDIO: 2
7877
};
7978

80-
/** Download Blob to local file system */
81-
Blob.prototype.download = function() {
82-
download(this, this.name, this.type);
83-
};
84-
8579
module.exports = WebRTCHelpers;

js/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('../../../lib/strophe/strophe.min');
6+
require('strophe');
77

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

js/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('../../../lib/strophe/strophe.min');
6+
require('strophe');
77

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

js/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('../lib/strophe/strophe.min');
8+
require('strophe');
99
var config = require('./qbConfig');
1010
var Utils = require('./qbUtils');
1111

lib/download/download.js

Lines changed: 0 additions & 124 deletions
This file was deleted.

lib/download/download.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

lib/jasmine-1.3.1/MIT.LICENSE

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)