diff options
author | kripken <alonzakai@gmail.com> | 2011-06-25 19:57:46 -0700 |
---|---|---|
committer | kripken <alonzakai@gmail.com> | 2011-06-25 19:57:46 -0700 |
commit | 196f9949ba69351a403017de49e3c8cd16879dd7 (patch) | |
tree | d0c0d4f70c24b8ee9c6468ba50dcca2d4c2d445f /src/shell_sharedlib.js | |
parent | 5595ad6270c335ec353d25f0a7ef2ab2319ae8c0 (diff) | |
parent | 0575efbfafda86bbc921b086167aefc59252ecde (diff) |
Merge pull request #32 from max99x/master
Basic dynamic loading support
Diffstat (limited to 'src/shell_sharedlib.js')
-rw-r--r-- | src/shell_sharedlib.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/shell_sharedlib.js b/src/shell_sharedlib.js new file mode 100644 index 00000000..cbdac74b --- /dev/null +++ b/src/shell_sharedlib.js @@ -0,0 +1,14 @@ +"use strict"; + +// Capture the output of this into a variable, if you want +(function(FUNCTION_TABLE_OFFSET) { + var Module = {}; + var args = []; + Module.arguments = []; + + {{BODY}} + + // {{MODULE_ADDITIONS}} + + return Module; +}); |