diff options
author | Chad Austin <chad@imvu.com> | 2013-05-16 14:38:23 -0700 |
---|---|---|
committer | Chad Austin <chad@imvu.com> | 2013-05-17 12:58:51 -0700 |
commit | 954f70274ed3b85b9d3885c6087df96376ca07d3 (patch) | |
tree | 578dc62e1351f27847f2370adbb14deb662a2e7f /src/embind/emval.js | |
parent | fec256e358077534355250f08ddd47f19ec80703 (diff) |
embind should predeclare Module in case it's included before a shell in the custom SCons change
Diffstat (limited to 'src/embind/emval.js')
-rw-r--r-- | src/embind/emval.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/embind/emval.js b/src/embind/emval.js index 51c54bc1..77270597 100644 --- a/src/embind/emval.js +++ b/src/embind/emval.js @@ -1,10 +1,12 @@ -/*global Module, Runtime*/ +/*global Module:true, Runtime*/ /*global HEAP32*/ /*global new_*/ /*global createNamedFunction*/ /*global readLatin1String, writeStringToMemory*/ /*global requireRegisteredType, throwBindingError*/ +var Module = Module || {}; + var _emval_handle_array = [{}]; // reserve zero var _emval_free_list = []; |