diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2017-12-25 16:58:41 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2017-12-25 16:58:41 -0500 |
commit | 49d54c0c3199fb8e380ce68f8fb08a308ddf56a7 (patch) | |
tree | 87e9be319452d75241476853a3b240aabdcbd7e2 /lib/jquery/src/deferred | |
parent | 6a844225b3b63b89926e136cf65c140df01a4677 (diff) | |
download | ytlibre-49d54c0c3199fb8e380ce68f8fb08a308ddf56a7.tar.lz ytlibre-49d54c0c3199fb8e380ce68f8fb08a308ddf56a7.tar.xz ytlibre-49d54c0c3199fb8e380ce68f8fb08a308ddf56a7.zip |
migración mayor a smarty PHP
Diffstat (limited to 'lib/jquery/src/deferred')
-rw-r--r-- | lib/jquery/src/deferred/exceptionHook.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/jquery/src/deferred/exceptionHook.js b/lib/jquery/src/deferred/exceptionHook.js deleted file mode 100644 index 6dbdc85..0000000 --- a/lib/jquery/src/deferred/exceptionHook.js +++ /dev/null @@ -1,21 +0,0 @@ -define( [ - "../core", - "../deferred" -], function( jQuery ) { - -"use strict"; - -// 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: IE 8 - 9 only - // 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, error.stack, stack ); - } -}; - -} ); |