Wrap libts, don't leak into global namespace

pull/749/head
lilia 10 years ago
parent c51773ab0e
commit 23feeecbcf

@ -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…
Cancel
Save