diff options
author | alon@honor <none@none> | 2010-10-31 19:23:10 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-31 19:23:10 -0700 |
commit | 4a37bdf9e060010d3d4e6b1f6f503a13227f5de8 (patch) | |
tree | 1c73c401b4a534a80f0722ae8ff3eda1b65d296c /src/shell.js | |
parent | 34557661977141046f2ab934a50d492535cf1766 (diff) |
allow both modularized and non-modularized shell.js
Diffstat (limited to 'src/shell.js')
-rw-r--r-- | src/shell.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/shell.js b/src/shell.js index 3461681e..ec1fdea1 100644 --- a/src/shell.js +++ b/src/shell.js @@ -1,11 +1,14 @@ // Capture the output of this into a variable, if you want -(function(Module, args) { - Module = Module || {}; - args = args || []; +//(function(Module, args) { +// Module = Module || {}; +// args = args || []; +// Runs much faster, for some reason +var Module = {}; +var args = arguments; {{BODY}} - return Module; -})({}, this.arguments); // Replace parameters as needed +// return Module; +//})({}, this.arguments); // Replace parameters as needed |