mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Fix onerror typo.
Former-commit-id: 61ba70537963824f396496cc59e7cfac1e9f8c8a
This commit is contained in:
@@ -320,7 +320,7 @@
|
|||||||
// http://bugzil.la/804933
|
// http://bugzil.la/804933
|
||||||
window.onerror = function(message) {
|
window.onerror = function(message) {
|
||||||
error = message;
|
error = message;
|
||||||
return false;
|
return true;
|
||||||
};
|
};
|
||||||
// the newline is required to avoid errors if `body` ends with a single line comment
|
// the newline is required to avoid errors if `body` ends with a single line comment
|
||||||
script.text = 'var _ = function(' + args + ') {' + body + '\n}';
|
script.text = 'var _ = function(' + args + ') {' + body + '\n}';
|
||||||
|
|||||||
Reference in New Issue
Block a user