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/data/Data.js
vendored
13
app/bower_components/jquery/src/data/Data.js
vendored
|
@ -1,8 +1,9 @@
|
|||
define( [
|
||||
"../core",
|
||||
"../core/camelCase",
|
||||
"../var/rnothtmlwhite",
|
||||
"./var/acceptData"
|
||||
], function( jQuery, rnothtmlwhite, acceptData ) {
|
||||
], function( jQuery, camelCase, rnothtmlwhite, acceptData ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -54,14 +55,14 @@ Data.prototype = {
|
|||
// Handle: [ owner, key, value ] args
|
||||
// Always use camelCase key (gh-2257)
|
||||
if ( typeof data === "string" ) {
|
||||
cache[ jQuery.camelCase( data ) ] = value;
|
||||
cache[ camelCase( data ) ] = value;
|
||||
|
||||
// Handle: [ owner, { properties } ] args
|
||||
} else {
|
||||
|
||||
// Copy the properties one-by-one to the cache object
|
||||
for ( prop in data ) {
|
||||
cache[ jQuery.camelCase( prop ) ] = data[ prop ];
|
||||
cache[ camelCase( prop ) ] = data[ prop ];
|
||||
}
|
||||
}
|
||||
return cache;
|
||||
|
@ -71,7 +72,7 @@ Data.prototype = {
|
|||
this.cache( owner ) :
|
||||
|
||||
// Always use camelCase key (gh-2257)
|
||||
owner[ this.expando ] && owner[ this.expando ][ jQuery.camelCase( key ) ];
|
||||
owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];
|
||||
},
|
||||
access: function( owner, key, value ) {
|
||||
|
||||
|
@ -119,9 +120,9 @@ Data.prototype = {
|
|||
|
||||
// If key is an array of keys...
|
||||
// We always set camelCase keys, so remove that.
|
||||
key = key.map( jQuery.camelCase );
|
||||
key = key.map( camelCase );
|
||||
} else {
|
||||
key = jQuery.camelCase( key );
|
||||
key = camelCase( key );
|
||||
|
||||
// If a key with the spaces exists, use it.
|
||||
// Otherwise, create an array by matching non-whitespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue