Skip to content

Commit

Permalink
build v1.0.0-beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
sualko committed Oct 31, 2014
1 parent fb3c88e commit 6486911
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 42 deletions.
4 changes: 2 additions & 2 deletions build/js/ijsxc.config.sample.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* ijsxc v1.0.0-beta1 - 2014-10-29
* ijsxc v1.0.0-beta2 - 2014-10-31
*
* Copyright (c) 2014 Klaus Herberth <[email protected]> <br>
* Released under the MIT license
*
* Please see http://jsxc.org/
*
* @author Klaus Herberth <[email protected]>
* @version 1.0.0-beta1
* @version 1.0.0-beta2
* @license MIT
*/

Expand Down
4 changes: 2 additions & 2 deletions build/js/ijsxc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* ijsxc v1.0.0-beta1 - 2014-10-29
* ijsxc v1.0.0-beta2 - 2014-10-31
*
* Copyright (c) 2014 Klaus Herberth <[email protected]> <br>
* Released under the MIT license
*
* Please see http://jsxc.org/
*
* @author Klaus Herberth <[email protected]>
* @version 1.0.0-beta1
* @version 1.0.0-beta2
* @license MIT
*/

Expand Down
2 changes: 2 additions & 0 deletions build/js/jsxc/jsxc.css
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ li .jsxc_name:hover {
margin-right: 5px;
border: 1px solid #000 !important;
line-height: 100%;
cursor: pointer;
}

.jsxc_spot.jsxc_online, .jsxc_spot.jsxc_chat {
Expand Down Expand Up @@ -1070,6 +1071,7 @@ div.jsxc_settings li {
height: 30px;
line-height: 30px;
text-align: left;
cursor: pointer;
}

div.jsxc_settings li:first-child {
Expand Down
28 changes: 17 additions & 11 deletions build/js/jsxc/jsxc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*! This file is concatenated for the browser. */

/*!
* jsxc v1.0.0-beta1 - 2014-10-29
* jsxc v1.0.0-beta2 - 2014-10-31
*
* Copyright (c) 2014 Klaus Herberth <[email protected]> <br>
* Released under the MIT license
*
* Please see http://www.jsxc.org/
*
* @author Klaus Herberth <[email protected]>
* @version 1.0.0-beta1
* @version 1.0.0-beta2
* @license MIT
*/

Expand All @@ -25,7 +25,7 @@ var jsxc;
*/
jsxc = {
/** Version of jsxc */
version: '1.0.0-beta1',
version: '1.0.0-beta2',

/** True if i'm the master */
master: false,
Expand Down Expand Up @@ -2319,7 +2319,11 @@ var jsxc;
var options = {};
options = {
onComplete: function() {
$('#jsxc_dialog .jsxc_close').click(jsxc.gui.dialog.close);
$('#jsxc_dialog .jsxc_close').click(function(ev) {
ev.preventDefault();

jsxc.gui.dialog.close();
});

// workaround for old colorbox version (used by firstrunwizard)
if (options.closeButton === false) {
Expand Down Expand Up @@ -3338,6 +3342,7 @@ var jsxc;
jsxc.storage.removeUserItem('windowlist');
jsxc.storage.removeUserItem('own');
jsxc.storage.removeUserItem('avatar', 'own');
jsxc.storage.removeUserItem('otrlist');

// submit login form
if (jsxc.triggeredFromForm) {
Expand Down Expand Up @@ -3768,8 +3773,6 @@ var jsxc;
return true;
}

$(document).trigger('message.jsxc', [ from, body ]);

var win = jsxc.gui.window.init(bid);

// If we now the full jid, we use it
Expand All @@ -3780,6 +3783,8 @@ var jsxc;
});
}

$(document).trigger('message.jsxc', [ from, body ]);

// create related otr object
if (jsxc.master && !jsxc.otr.objects[bid]) {
jsxc.otr.create(bid);
Expand Down Expand Up @@ -3947,7 +3952,7 @@ var jsxc;
* @private
*/
_sendMessage: function(jid, msg, uid) {
var data = jsxc.storage.getUserItem('buddy', jsxc.jidToBid(jid));
var data = jsxc.storage.getUserItem('buddy', jsxc.jidToBid(jid)) || {};
var isBar = (Strophe.getBareJidFromJid(jid) === jid);
var type = data.type || 'chat';

Expand Down Expand Up @@ -5872,15 +5877,15 @@ var jsxc;
}(jQuery));

/*!
* jsxc v1.0.0-beta1 - 2014-10-29
* jsxc v1.0.0-beta2 - 2014-10-31
*
* Copyright (c) 2014 Klaus Herberth <[email protected]> <br>
* Released under the MIT license
*
* Please see http://www.jsxc.org/
*
* @author Klaus Herberth <[email protected]>
* @version 1.0.0-beta1
* @version 1.0.0-beta2
* @license MIT
*/

Expand Down Expand Up @@ -6073,11 +6078,12 @@ jsxc.gui.template.videoWindow = '<div class="jsxc_webrtc">\
* Return list of video capable resources.
*
* @memberOf jsxc.webrtc
* @param bid
* @param jid
* @returns {Array}
*/
getCapableRes: function(bid) {
getCapableRes: function(jid) {
var self = jsxc.webrtc;
var bid = jsxc.jidToBid(jid);
var res = jsxc.storage.getUserItem('res', bid) || [];

var available = [];
Expand Down
19 changes: 12 additions & 7 deletions build/js/jsxc/jsxc.lib.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* jsxc v1.0.0-beta1 - 2014-10-29
* jsxc v1.0.0-beta2 - 2014-10-31
*
* Copyright (c) 2014 Klaus Herberth <[email protected]> <br>
* Released under the MIT license
*
* Please see http://www.jsxc.org/
*
* @author Klaus Herberth <[email protected]>
* @version 1.0.0-beta1
* @version 1.0.0-beta2
* @license MIT
*/

Expand All @@ -23,7 +23,7 @@ var jsxc;
*/
jsxc = {
/** Version of jsxc */
version: '1.0.0-beta1',
version: '1.0.0-beta2',

/** True if i'm the master */
master: false,
Expand Down Expand Up @@ -2317,7 +2317,11 @@ var jsxc;
var options = {};
options = {
onComplete: function() {
$('#jsxc_dialog .jsxc_close').click(jsxc.gui.dialog.close);
$('#jsxc_dialog .jsxc_close').click(function(ev) {
ev.preventDefault();

jsxc.gui.dialog.close();
});

// workaround for old colorbox version (used by firstrunwizard)
if (options.closeButton === false) {
Expand Down Expand Up @@ -3336,6 +3340,7 @@ var jsxc;
jsxc.storage.removeUserItem('windowlist');
jsxc.storage.removeUserItem('own');
jsxc.storage.removeUserItem('avatar', 'own');
jsxc.storage.removeUserItem('otrlist');

// submit login form
if (jsxc.triggeredFromForm) {
Expand Down Expand Up @@ -3766,8 +3771,6 @@ var jsxc;
return true;
}

$(document).trigger('message.jsxc', [ from, body ]);

var win = jsxc.gui.window.init(bid);

// If we now the full jid, we use it
Expand All @@ -3778,6 +3781,8 @@ var jsxc;
});
}

$(document).trigger('message.jsxc', [ from, body ]);

// create related otr object
if (jsxc.master && !jsxc.otr.objects[bid]) {
jsxc.otr.create(bid);
Expand Down Expand Up @@ -3945,7 +3950,7 @@ var jsxc;
* @private
*/
_sendMessage: function(jid, msg, uid) {
var data = jsxc.storage.getUserItem('buddy', jsxc.jidToBid(jid));
var data = jsxc.storage.getUserItem('buddy', jsxc.jidToBid(jid)) || {};
var isBar = (Strophe.getBareJidFromJid(jid) === jid);
var type = data.type || 'chat';

Expand Down
9 changes: 5 additions & 4 deletions build/js/jsxc/jsxc.lib.webrtc.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*!
* jsxc v1.0.0-beta1 - 2014-10-29
* jsxc v1.0.0-beta2 - 2014-10-31
*
* Copyright (c) 2014 Klaus Herberth <[email protected]> <br>
* Released under the MIT license
*
* Please see http://www.jsxc.org/
*
* @author Klaus Herberth <[email protected]>
* @version 1.0.0-beta1
* @version 1.0.0-beta2
* @license MIT
*/

Expand Down Expand Up @@ -200,11 +200,12 @@ jsxc.gui.template.videoWindow = '<div class="jsxc_webrtc">\
* Return list of video capable resources.
*
* @memberOf jsxc.webrtc
* @param bid
* @param jid
* @returns {Array}
*/
getCapableRes: function(bid) {
getCapableRes: function(jid) {
var self = jsxc.webrtc;
var bid = jsxc.jidToBid(jid);
var res = jsxc.storage.getUserItem('res', bid) || [];

var available = [];
Expand Down
16 changes: 8 additions & 8 deletions build/js/jsxc/jsxc.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/js/jsxc/jsxc.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/js/jsxc/jsxc.dep.js → build/js/jsxc/lib/jsxc.dep.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*! * jsxc v1.0.0-beta1 - 2014-10-29
/*!
* jsxc v1.0.0-beta2 - 2014-10-31
*
* This file concatenates all dependencies of jsxc.
*
* For the list of concatenated files and there licenses please see http://www.jsxc.org/ @github.
*/

/*!
Expand Down Expand Up @@ -9153,7 +9153,7 @@ getUserMediaWithConstraints = function(um, resolution, bandwidth, fps) {
}(jQuery));

/*!
* Source: build/lib/otr/build/dep/salsa20.js, license: GPLv3, url: https://github.com/neoatlantis/node-salsa20 */
* Source: build/lib/otr/build/dep/salsa20.js, license: AGPL3, url: https://github.com/neoatlantis/node-salsa20 */
// Salsa20 implementation
// Contributed to Cryptocat by Dmitry Chestnykh
// 21-01-2013
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
2 changes: 1 addition & 1 deletion js/jsxc
Submodule jsxc updated from 8cd97e to a69b70
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ijsxc",
"version": "1.0.0-beta1",
"version": "1.0.0-beta2",
"description": "Real-time chat app for ILIAS",
"homepage": "http://jsxc.org/",
"bugs": "https://github.com/sualko/jsxc/issues",
Expand Down

0 comments on commit 6486911

Please sign in to comment.