Update bower dependencies.
This commit is contained in:
parent
818bdad5af
commit
2beab45f32
185 changed files with 21480 additions and 8110 deletions
13
app/bower_components/jquery/src/ajax.js
vendored
13
app/bower_components/jquery/src/ajax.js
vendored
|
@ -1,6 +1,7 @@
|
|||
define( [
|
||||
"./core",
|
||||
"./var/document",
|
||||
"./var/isFunction",
|
||||
"./var/rnothtmlwhite",
|
||||
"./ajax/var/location",
|
||||
"./ajax/var/nonce",
|
||||
|
@ -11,7 +12,7 @@ define( [
|
|||
"./event/trigger",
|
||||
"./deferred",
|
||||
"./serialize" // jQuery.param
|
||||
], function( jQuery, document, rnothtmlwhite, location, nonce, rquery ) {
|
||||
], function( jQuery, document, isFunction, rnothtmlwhite, location, nonce, rquery ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -66,7 +67,7 @@ function addToPrefiltersOrTransports( structure ) {
|
|||
i = 0,
|
||||
dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];
|
||||
|
||||
if ( jQuery.isFunction( func ) ) {
|
||||
if ( isFunction( func ) ) {
|
||||
|
||||
// For each dataType in the dataTypeExpression
|
||||
while ( ( dataType = dataTypes[ i++ ] ) ) {
|
||||
|
@ -538,7 +539,7 @@ jQuery.extend( {
|
|||
if ( s.crossDomain == null ) {
|
||||
urlAnchor = document.createElement( "a" );
|
||||
|
||||
// Support: IE <=8 - 11, Edge 12 - 13
|
||||
// Support: IE <=8 - 11, Edge 12 - 15
|
||||
// IE throws exception on accessing the href property if url is malformed,
|
||||
// e.g. http://example.com:80x/
|
||||
try {
|
||||
|
@ -596,8 +597,8 @@ jQuery.extend( {
|
|||
// Remember the hash so we can put it back
|
||||
uncached = s.url.slice( cacheURL.length );
|
||||
|
||||
// If data is available, append data to url
|
||||
if ( s.data ) {
|
||||
// If data is available and should be processed, append data to url
|
||||
if ( s.data && ( s.processData || typeof s.data === "string" ) ) {
|
||||
cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data;
|
||||
|
||||
// #9682: remove data so that it's not used in an eventual retry
|
||||
|
@ -834,7 +835,7 @@ jQuery.each( [ "get", "post" ], function( i, method ) {
|
|||
jQuery[ method ] = function( url, data, callback, type ) {
|
||||
|
||||
// Shift arguments if data argument was omitted
|
||||
if ( jQuery.isFunction( data ) ) {
|
||||
if ( isFunction( data ) ) {
|
||||
type = type || callback;
|
||||
callback = data;
|
||||
data = undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue