1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update confirm

This commit is contained in:
Luke Pulverenti 2016-02-22 14:31:28 -05:00
parent 166a16b60d
commit 1ea5d5f307
191 changed files with 8714 additions and 48569 deletions

View file

@ -0,0 +1,19 @@
define( [
"../core",
"../deferred"
], function( jQuery ) {
// These usually indicate a programmer mistake during development,
// warn about them ASAP rather than swallowing them by default.
var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
jQuery.Deferred.exceptionHook = function( error, stack ) {
// Support: IE9
// Console exists when dev tools are open, which can happen at any time
if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {
window.console.warn( "jQuery.Deferred exception: " + error.message, stack );
}
};
} );