diff options
Diffstat (limited to 'lib/jquery/src/core/readyException.js')
-rw-r--r-- | lib/jquery/src/core/readyException.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/jquery/src/core/readyException.js b/lib/jquery/src/core/readyException.js new file mode 100644 index 0000000..72bdd90 --- /dev/null +++ b/lib/jquery/src/core/readyException.js @@ -0,0 +1,13 @@ +define( [ + "../core" +], function( jQuery ) { + +"use strict"; + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + +} ); |