Update bower dependencies.
This commit is contained in:
parent
818bdad5af
commit
2beab45f32
185 changed files with 21480 additions and 8110 deletions
|
@ -1,9 +1,10 @@
|
|||
define( [
|
||||
"../core",
|
||||
"../var/isFunction",
|
||||
"./var/nonce",
|
||||
"./var/rquery",
|
||||
"../ajax"
|
||||
], function( jQuery, nonce, rquery ) {
|
||||
], function( jQuery, isFunction, nonce, rquery ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -36,7 +37,7 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
|
|||
if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
|
||||
|
||||
// Get callback name, remembering preexisting value associated with it
|
||||
callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?
|
||||
callbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?
|
||||
s.jsonpCallback() :
|
||||
s.jsonpCallback;
|
||||
|
||||
|
@ -87,7 +88,7 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
|
|||
}
|
||||
|
||||
// Call if it was a function and we have a response
|
||||
if ( responseContainer && jQuery.isFunction( overwritten ) ) {
|
||||
if ( responseContainer && isFunction( overwritten ) ) {
|
||||
overwritten( responseContainer[ 0 ] );
|
||||
}
|
||||
|
||||
|
|
5
app/bower_components/jquery/src/ajax/load.js
vendored
5
app/bower_components/jquery/src/ajax/load.js
vendored
|
@ -1,12 +1,13 @@
|
|||
define( [
|
||||
"../core",
|
||||
"../core/stripAndCollapse",
|
||||
"../var/isFunction",
|
||||
"../core/parseHTML",
|
||||
"../ajax",
|
||||
"../traversing",
|
||||
"../manipulation",
|
||||
"../selector"
|
||||
], function( jQuery, stripAndCollapse ) {
|
||||
], function( jQuery, stripAndCollapse, isFunction ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -24,7 +25,7 @@ jQuery.fn.load = function( url, params, callback ) {
|
|||
}
|
||||
|
||||
// If it's a function
|
||||
if ( jQuery.isFunction( params ) ) {
|
||||
if ( isFunction( params ) ) {
|
||||
|
||||
// We assume that it's the callback
|
||||
callback = params;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
define( [
|
||||
"../../core"
|
||||
], function( jQuery ) {
|
||||
define( function() {
|
||||
"use strict";
|
||||
|
||||
return jQuery.now();
|
||||
return Date.now();
|
||||
} );
|
||||
|
|
5
app/bower_components/jquery/src/ajax/xhr.js
vendored
5
app/bower_components/jquery/src/ajax/xhr.js
vendored
|
@ -75,7 +75,8 @@ jQuery.ajaxTransport( function( options ) {
|
|||
return function() {
|
||||
if ( callback ) {
|
||||
callback = errorCallback = xhr.onload =
|
||||
xhr.onerror = xhr.onabort = xhr.onreadystatechange = null;
|
||||
xhr.onerror = xhr.onabort = xhr.ontimeout =
|
||||
xhr.onreadystatechange = null;
|
||||
|
||||
if ( type === "abort" ) {
|
||||
xhr.abort();
|
||||
|
@ -115,7 +116,7 @@ jQuery.ajaxTransport( function( options ) {
|
|||
|
||||
// Listen to events
|
||||
xhr.onload = callback();
|
||||
errorCallback = xhr.onerror = callback( "error" );
|
||||
errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" );
|
||||
|
||||
// Support: IE 9 only
|
||||
// Use onreadystatechange to replace onabort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue