Hooray for options

This commit is contained in:
lilia 2014-11-08 11:38:32 -08:00
parent 59f22ecb26
commit 8d323a4d71
4 changed files with 7 additions and 10 deletions

View File

@ -38,12 +38,14 @@ module.exports = function(grunt) {
}, },
curve25519: { curve25519: {
src: [ src: [
'build/_before.js',
'build/curve25519_compiled.js', 'build/curve25519_compiled.js',
'build/curve25519.js', 'build/curve25519.js',
'build/_after.js'
], ],
dest: 'js/curve25519_compiled.js' dest: 'js/curve25519_compiled.js',
options: {
banner: ';(function(){\n',
footer: '\n})();'
}
} }
}, },
sass: { sass: {

View File

@ -1,2 +0,0 @@
})();

View File

@ -1 +0,0 @@
;(function() {

View File

@ -1,5 +1,4 @@
;(function() { ;(function(){
// Note: For maximum-speed code, see "Optimizing Code" on the Emscripten wiki, https://github.com/kripken/emscripten/wiki/Optimizing-Code // Note: For maximum-speed code, see "Optimizing Code" on the Emscripten wiki, https://github.com/kripken/emscripten/wiki/Optimizing-Code
// Note: Some Emscripten settings may limit the speed of the generated code. // Note: Some Emscripten settings may limit the speed of the generated code.
try { try {
@ -2999,5 +2998,4 @@ run();
}; };
})(); })();
})();
})();