Uses pako from npm.
This commit is contained in:
parent
248d7a3173
commit
0063461858
|
@ -17,7 +17,6 @@
|
|||
<script src="libs/jquery-ui.js"></script>
|
||||
<script src="libs/tooltip.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||
<script src="libs/pako.bundle.js?v=1"></script><!-- zlib deflate -->
|
||||
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
||||
<script src="interface_config.js?v=5"></script>
|
||||
<script src="service/RTC/RTCBrowserType.js?v=1"></script>
|
||||
|
|
|
@ -977,10 +977,8 @@ EventEmitter.prototype.emit = function(type) {
|
|||
er = arguments[1];
|
||||
if (er instanceof Error) {
|
||||
throw er; // Unhandled 'error' event
|
||||
} else {
|
||||
throw TypeError('Uncaught, unspecified "error" event.');
|
||||
}
|
||||
return false;
|
||||
throw TypeError('Uncaught, unspecified "error" event.');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3648,7 +3648,7 @@ var Toolbar = (function (my) {
|
|||
module.exports = Toolbar;
|
||||
},{"../authentication/Authentication":4,"../etherpad/Etherpad":6,"../prezi/Prezi":7,"../side_pannels/SidePanelToggler":8,"../util/MessageHandler":21,"../util/UIUtil":22,"./BottomToolbar":16}],19:[function(require,module,exports){
|
||||
module.exports=require(17)
|
||||
},{}],20:[function(require,module,exports){
|
||||
},{"/Users/boris/jitsi/git/jitsi-meet/modules/UI/toolbars/ToolbarToggler.js":17}],20:[function(require,module,exports){
|
||||
var JitsiPopover = (function () {
|
||||
/**
|
||||
* Constructs new JitsiPopover and attaches it to the element
|
||||
|
|
|
@ -381,10 +381,8 @@ EventEmitter.prototype.emit = function(type) {
|
|||
er = arguments[1];
|
||||
if (er instanceof Error) {
|
||||
throw er; // Unhandled 'error' event
|
||||
} else {
|
||||
throw TypeError('Uncaught, unspecified "error" event.');
|
||||
}
|
||||
return false;
|
||||
throw TypeError('Uncaught, unspecified "error" event.');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1021,10 +1021,8 @@ EventEmitter.prototype.emit = function(type) {
|
|||
er = arguments[1];
|
||||
if (er instanceof Error) {
|
||||
throw er; // Unhandled 'error' event
|
||||
} else {
|
||||
throw TypeError('Uncaught, unspecified "error" event.');
|
||||
}
|
||||
return false;
|
||||
throw TypeError('Uncaught, unspecified "error" event.');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
3747
libs/pako.bundle.js
3747
libs/pako.bundle.js
File diff suppressed because it is too large
Load Diff
|
@ -2,6 +2,7 @@ var Moderator = require("./moderator");
|
|||
var EventEmitter = require("events");
|
||||
var Recording = require("./recording");
|
||||
var SDP = require("./SDP");
|
||||
var Pako = require("pako");
|
||||
|
||||
var eventEmitter = new EventEmitter();
|
||||
var connection = null;
|
||||
|
@ -360,7 +361,7 @@ var XMPP = {
|
|||
|
||||
var content = JSON.stringify(data);
|
||||
if (deflate) {
|
||||
content = String.fromCharCode.apply(null, Pako.deflateRaw(content));
|
||||
content = String.fromCharCode.apply(null, Pako.deflate.deflateRaw(content));
|
||||
}
|
||||
content = Base64.encode(content);
|
||||
// XEP-0337-ish
|
||||
|
@ -426,4 +427,4 @@ var XMPP = {
|
|||
|
||||
};
|
||||
|
||||
module.exports = XMPP;
|
||||
module.exports = XMPP;
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
"author": "",
|
||||
"readmeFilename": "README.md",
|
||||
"dependencies": {
|
||||
"events": "*"
|
||||
"events": "*",
|
||||
"pako": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue