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?
|
||||
libtextsecure: {
|
||||
options: {
|
||||
banner: ";(function() {\n",
|
||||
footer: "})();\n",
|
||||
},
|
||||
src: [
|
||||
'libtextsecure/errors.js',
|
||||
'libtextsecure/libaxolotl.js',
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
;(function() {
|
||||
/* vim: ts=4:sw=4:expandtab
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
@ -39837,3 +39838,4 @@ window.textsecure.messaging = function() {
|
|||
|
||||
return self;
|
||||
}();
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue