Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The QuickBlox JavaScript SDK provides a JavaScript library making it even
easier to access the QuickBlox cloud communication backend platform.

[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.
[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.


# Install
Expand Down Expand Up @@ -75,6 +75,7 @@ The quickblox.js library is build from a number of **CommonJS modules** containe
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:

* You need to have the dependencies listed in the package.json available, use `npm install` to load them.
* Also you need install jasmine global 'npm i -g jasmine' for tests.
* Change the 'version' properties in next files:
* https://github.com/QuickBlox/quickblox-javascript-sdk/blob/gh-pages/js/qbConfig.js
* https://github.com/QuickBlox/quickblox-javascript-sdk/blob/gh-pages/bower.json
Expand Down
2 changes: 1 addition & 1 deletion js/modules/qbChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var isBrowser = typeof window !== "undefined";
var unsupported = "This function isn't supported outside of the browser (...yet)";

if (isBrowser) {
require('../../lib/strophe/strophe.min');
require('strophe');
// add extra namespaces for Strophe
Strophe.addNamespace('CARBONS', 'urn:xmpp:carbons:2');
Strophe.addNamespace('CHAT_MARKERS', 'urn:xmpp:chat-markers:0');
Expand Down
6 changes: 0 additions & 6 deletions js/modules/webrtc/qbWebRTCHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

var config = require('../../qbConfig');
var download = require('../../../lib/download/download.min');

var WebRTCHelpers = {};

Expand Down Expand Up @@ -77,9 +76,4 @@ WebRTCHelpers.CallType = {
AUDIO: 2
};

/** Download Blob to local file system */
Blob.prototype.download = function() {
download(this, this.name, this.type);
};

module.exports = WebRTCHelpers;
2 changes: 1 addition & 1 deletion js/modules/webrtc/qbWebRTCSignalingProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* WebRTC Module (WebRTC signaling provider)
*/

require('../../../lib/strophe/strophe.min');
require('strophe');

var Helpers = require('./qbWebRTCHelpers');
var SignalingConstants = require('./qbWebRTCSignalingConstants');
Expand Down
2 changes: 1 addition & 1 deletion js/modules/webrtc/qbWebRTCSignalingProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* WebRTC Module (WebRTC signaling processor)
*/

require('../../../lib/strophe/strophe.min');
require('strophe');

var Helpers = require('./qbWebRTCHelpers');
var SignalingConstants = require('./qbWebRTCSignalingConstants');
Expand Down
2 changes: 1 addition & 1 deletion js/qbStrophe.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
*/

require('../lib/strophe/strophe.min');
require('strophe');
var config = require('./qbConfig');
var Utils = require('./qbUtils');

Expand Down
124 changes: 0 additions & 124 deletions lib/download/download.js

This file was deleted.

1 change: 0 additions & 1 deletion lib/download/download.min.js

This file was deleted.

20 changes: 0 additions & 20 deletions lib/jasmine-1.3.1/MIT.LICENSE

This file was deleted.

Loading