emscripten-wasm-loader
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -0,1 +1,11 @@ | ||
<a name="0.0.4"></a> | ||
## [0.0.4](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.3...v0.0.4) (2017-09-15) | ||
### Bug Fixes | ||
* **constructmodule:** inject environment ([9f4b82a](https://github.com/kwonoj/emscripten-wasm-loader/commit/9f4b82a)) | ||
<a name="0.0.3"></a> | ||
@@ -2,0 +12,0 @@ ## [0.0.3](https://github.com/kwonoj/emscripten-wasm-loader/compare/v0.0.2...v0.0.3) (2017-09-15) |
@@ -24,3 +24,3 @@ "use strict"; | ||
exports.constructModule = function (value, environment, asmDir, binaryEndpoint) { | ||
var ret = tslib_1.__assign({}, value, { __asm_module_isInitialized__: false, locateFile: null, onRuntimeInitialized: null, initializeRuntime: null }); | ||
var ret = tslib_1.__assign({}, value, { __asm_module_isInitialized__: false, locateFile: null, onRuntimeInitialized: null, initializeRuntime: null, ENVIRONMENT: environment }); | ||
//If binaryEndpoint provided, consider it as override behavior and set locateFile fn | ||
@@ -27,0 +27,0 @@ //otherwise set default to locateFile on node.js. |
{ | ||
"name": "emscripten-wasm-loader", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Common interface to load wasm module into isomorphic environment", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
Sorry, the diff of this file is not supported yet
27806