diff options
author | max99x <max99x@gmail.com> | 2011-06-25 10:41:06 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-06-25 10:41:06 +0300 |
commit | 4217219cd94bb814a485f18f7d041e874f3e86f5 (patch) | |
tree | 645e68c452236e9ab13ac6e14a87ecab6039cf87 /src/postamble_sharedlib.js | |
parent | c7fab4204bee149b2e0c9b2ed02e2bd69e91c572 (diff) |
Added basic support for dynamic module loading.
Diffstat (limited to 'src/postamble_sharedlib.js')
-rw-r--r-- | src/postamble_sharedlib.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/postamble_sharedlib.js b/src/postamble_sharedlib.js new file mode 100644 index 00000000..1fd78f23 --- /dev/null +++ b/src/postamble_sharedlib.js @@ -0,0 +1,15 @@ + +// === Auto-generated postamble setup entry stuff === + +function run(args) { + {{GLOBAL_VARS}} + __globalConstructor__(); +} +Module['run'] = run; + +// {{PRE_RUN_ADDITIONS}} + +run(); + +// {{POST_RUN_ADDITIONS}} + |