diff options
author | max99x <max99x@gmail.com> | 2011-07-03 07:42:26 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-07-03 07:42:26 +0300 |
commit | a440e9845a119417aef3cdab3d839d42767f967c (patch) | |
tree | 1cb9c8bd96006db0105e9ec41283dd6e305d7363 /src/shell.js | |
parent | 48a2a87ebac0836508b85bfe82be24f325487a54 (diff) | |
parent | b250dac956589b058f65e6975429abb99558faf3 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/shell.js')
-rw-r--r-- | src/shell.js | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/shell.js b/src/shell.js index f18fc3ca..c73cf6e4 100644 --- a/src/shell.js +++ b/src/shell.js @@ -1,10 +1,13 @@ "use strict"; +/* // Capture the output of this into a variable, if you want -//(function(Module, args) { -// Module = Module || {}; -// args = args || []; +(function(Module, args) { + Module = Module || {}; + Module.arguments = args || []; +*/ +///* // Runs much faster, for some reason if (!this['Module']) { this['Module'] = {}; @@ -14,11 +17,14 @@ try { } catch(e) { Module.arguments = []; } +//*/ {{BODY}} // {{MODULE_ADDITIONS}} -// return Module; -//})({}, this.arguments); // Replace parameters as needed +/* + return Module; +}).call(this, {}, arguments); // Replace parameters as needed +*/ |