aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shell.js16
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
+*/