aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-09-26 13:20:05 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-09-26 13:20:05 -0700
commitc70758e3b49beb016a3d9db7b609c499d55de48b (patch)
tree6a53bd8ae82ecc8a56d885c93f2097c779027492 /src/library.js
parentd9e13a5a3ceeaa500e9c75e52547c8b67950c441 (diff)
parentac36f1a7237e1e804d7f07bed4226a3f5a3320d8 (diff)
Merge branch 'incoming'
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index 798a6f58..1c150bc9 100644
--- a/src/library.js
+++ b/src/library.js
@@ -359,7 +359,7 @@ LibraryManager.library = {
var success = true;
if (typeof XMLHttpRequest !== 'undefined') {
// Browser.
- assert('Cannot do synchronous binary XHRs in modern browsers. Use --embed-file or --preload-file in emcc');
+ throw 'Cannot do synchronous binary XHRs in modern browsers. Use --embed-file or --preload-file in emcc';
} else if (Module['read']) {
// Command-line.
try {