Skip to content

Commit 19a2516

Browse files
authored
Fix white space
1 parent 73ffd58 commit 19a2516

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/data.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ var oldData = jQuery.data;
22

33
jQuery.data = function( elem, name, value ) {
44
var curData;
5-
6-
//name can be an object, and each entry in the object is meant to be set as data
5+
6+
//Name can be an object, and each entry in the object is meant to be set as data
77
if ( name && typeof name === "object" && arguments.length === 2 ) {
88
for ( var key in name ) {
9-
if ( key !== jQuery.camelCase( key ) ){
9+
if ( key !== jQuery.camelCase( key ) ) {
1010
migrateWarn( "jQuery.data() always sets/gets camelCased names: " + key );
1111
}
1212
}
13-
14-
//jQuery.data will convert keys to camelCase, and this is a setter.
13+
14+
//Original jQuery.data will convert keys to camelCase, and this is a setter.
1515
return oldData.apply( this, arguments );
1616
}
1717

0 commit comments

Comments
 (0)