diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/preamble.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preamble.js b/src/preamble.js index 8ab9bce8..35bb75d7 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -320,7 +320,7 @@ function setValue(ptr, value, type) { default: abort('invalid type for setValue: ' + type); } } -this['setValue'] = setValue; +Module['setValue'] = setValue; // Parallel to setValue. @@ -338,7 +338,7 @@ function getValue(ptr, type) { } return null; } -this['getValue'] = getValue; +Module['getValue'] = getValue; // Allocates memory for some data and initializes it properly. |