Centralize the logic for throwing exceptions. Fixes #5913.
This commit is contained in:
parent
3e286440d5
commit
a6ef036bb6
3 changed files with 7 additions and 3 deletions
|
@ -466,6 +466,10 @@ jQuery.extend({
|
|||
}
|
||||
return true;
|
||||
},
|
||||
|
||||
error: function( msg ) {
|
||||
throw msg;
|
||||
},
|
||||
|
||||
noop: function() {},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue