Fix onerror typo.

Former-commit-id: 61ba70537963824f396496cc59e7cfac1e9f8c8a
This commit is contained in:
John-David Dalton
2012-11-24 01:36:18 -06:00
parent fc9c937e67
commit a2a71a107e

View File

@@ -320,7 +320,7 @@
// http://bugzil.la/804933
window.onerror = function(message) {
error = message;
return false;
return true;
};
// the newline is required to avoid errors if `body` ends with a single line comment
script.text = 'var _ = function(' + args + ') {' + body + '\n}';