Wrap libts, don't leak into global namespace
This commit is contained in:
parent
c51773ab0e
commit
23feeecbcf
2 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,10 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
//TODO: Move errors back down?
|
//TODO: Move errors back down?
|
||||||
libtextsecure: {
|
libtextsecure: {
|
||||||
|
options: {
|
||||||
|
banner: ";(function() {\n",
|
||||||
|
footer: "})();\n",
|
||||||
|
},
|
||||||
src: [
|
src: [
|
||||||
'libtextsecure/errors.js',
|
'libtextsecure/errors.js',
|
||||||
'libtextsecure/libaxolotl.js',
|
'libtextsecure/libaxolotl.js',
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
;(function() {
|
||||||
/* vim: ts=4:sw=4:expandtab
|
/* vim: ts=4:sw=4:expandtab
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
@ -39837,3 +39838,4 @@ window.textsecure.messaging = function() {
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}();
|
}();
|
||||||
|
})();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue