aboutsummaryrefslogtreecommitdiff
path: root/src/library_browser.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-14 18:37:39 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-14 18:37:39 -0800
commit06bfe6541d88fda62a6b531e16250c63d85dcfe6 (patch)
tree3da9af5a8ec1bb66f236451622dfcfcd78e2b5c8 /src/library_browser.js
parentcf0bb930f5d4c4bce177c15fab28c495a41902e2 (diff)
fix breakage in async_prepare_data
Diffstat (limited to 'src/library_browser.js')
-rw-r--r--src/library_browser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library_browser.js b/src/library_browser.js
index 410ac0e8..ef8b4360 100644
--- a/src/library_browser.js
+++ b/src/library_browser.js
@@ -417,10 +417,10 @@ mergeInto(LibraryManager.library, {
{{{ makeHEAPView('U8', 'data', 'data + size') }}},
true, true,
function() {
- if (onload) Runtime.dynCall('vii', onload, [file, cname]);
+ if (onload) Runtime.dynCall('vii', onload, [arg, cname]);
},
function() {
- if (onerror) Runtime.dynCall('vi', onerror, [file]);
+ if (onerror) Runtime.dynCall('vi', onerror, [arg]);
},
true // don'tCreateFile - it's already there
);