git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Centralize the logic for throwing exceptions. Fixes #5913.
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
4102e5c
..
3ff95e0
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-466,6
+466,10
@@
jQuery.extend({
}
return true;
},
+
+ error: function( msg ) {
+ throw msg;
+ },
noop: function() {},