Commit
·
76250b1
1
Parent(s):
a5d8e17
Upload main.js
Browse files
main.js
CHANGED
@@ -986,7 +986,7 @@ function instantiateAsync(binary, binaryFile, imports, callback) {
|
|
986 |
// an actual Response.
|
987 |
// TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure is fixed.
|
988 |
/** @suppress {checkTypes} */
|
989 |
-
var result = WebAssembly.
|
990 |
|
991 |
return result.then(
|
992 |
callback,
|
|
|
986 |
// an actual Response.
|
987 |
// TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure is fixed.
|
988 |
/** @suppress {checkTypes} */
|
989 |
+
var result = WebAssembly.instantiate(response, imports);
|
990 |
|
991 |
return result.then(
|
992 |
callback,
|