mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-18 14:53:14 +00:00
only call previous onerror if it exists
This commit is contained in:
parent
ed8c4b3615
commit
10032f18fa
@ -147,7 +147,8 @@ if (isBrowser) {
|
||||
loadingScripts[i].err(msg);
|
||||
return;
|
||||
}
|
||||
onerror.apply(this, arguments);
|
||||
if (onerror)
|
||||
onerror.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user