Update bower dependencies.
This commit is contained in:
parent
818bdad5af
commit
2beab45f32
185 changed files with 21480 additions and 8110 deletions
8
app/bower_components/jquery/src/serialize.js
vendored
8
app/bower_components/jquery/src/serialize.js
vendored
|
@ -1,10 +1,12 @@
|
|||
define( [
|
||||
"./core",
|
||||
"./core/toType",
|
||||
"./manipulation/var/rcheckableType",
|
||||
"./var/isFunction",
|
||||
"./core/init",
|
||||
"./traversing", // filter
|
||||
"./attributes/prop"
|
||||
], function( jQuery, rcheckableType ) {
|
||||
], function( jQuery, toType, rcheckableType, isFunction ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -38,7 +40,7 @@ function buildParams( prefix, obj, traditional, add ) {
|
|||
}
|
||||
} );
|
||||
|
||||
} else if ( !traditional && jQuery.type( obj ) === "object" ) {
|
||||
} else if ( !traditional && toType( obj ) === "object" ) {
|
||||
|
||||
// Serialize object item.
|
||||
for ( name in obj ) {
|
||||
|
@ -60,7 +62,7 @@ jQuery.param = function( a, traditional ) {
|
|||
add = function( key, valueOrFunction ) {
|
||||
|
||||
// If value is a function, invoke it and use its return value
|
||||
var value = jQuery.isFunction( valueOrFunction ) ?
|
||||
var value = isFunction( valueOrFunction ) ?
|
||||
valueOrFunction() :
|
||||
valueOrFunction;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue