aboutsummaryrefslogtreecommitdiff
path: root/src/shell.js
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-07-03 07:42:26 +0300
committermax99x <max99x@gmail.com>2011-07-03 07:42:26 +0300
commita440e9845a119417aef3cdab3d839d42767f967c (patch)
tree1cb9c8bd96006db0105e9ec41283dd6e305d7363 /src/shell.js
parent48a2a87ebac0836508b85bfe82be24f325487a54 (diff)
parentb250dac956589b058f65e6975429abb99558faf3 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/shell.js')
-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
+*/