diff options
author | alon@honor <none@none> | 2010-10-31 16:22:15 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-31 16:22:15 -0700 |
commit | 34557661977141046f2ab934a50d492535cf1766 (patch) | |
tree | bf77171de2100f7bac60a68eaeac21e67c399345 /src/shell.js | |
parent | db2dfd4026c5aaba0a4b1fc2778b1ca36bec8a62 (diff) |
finish module-ization of generated code
Diffstat (limited to 'src/shell.js')
-rw-r--r-- | src/shell.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shell.js b/src/shell.js index 7c365d6d..3461681e 100644 --- a/src/shell.js +++ b/src/shell.js @@ -1,12 +1,11 @@ -var that = this; // Capture the output of this into a variable, if you want (function(Module, args) { Module = Module || {}; - arguments = arguments || []; + args = args || []; {{BODY}} return Module; -}).apply(this, this.arguments); // Replace parameters as needed +})({}, this.arguments); // Replace parameters as needed |