diff options
author | jeresig <jeresig@gmail.com> | 2009-12-21 19:58:13 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2009-12-21 19:58:13 -0500 |
commit | 61e37d41490aed319a176c6ca7feb95e5505059c (patch) | |
tree | 62b7c9bbb5cba5f15c2a134a51dac84b35e0d0ce /src/data.js | |
parent | 36c99dc0c7a745a88488f519b38de811d6d4c8d9 (diff) | |
download | jquery-61e37d41490aed319a176c6ca7feb95e5505059c.tar.gz jquery-61e37d41490aed319a176c6ca7feb95e5505059c.zip |
Made a number of spacing changes to bring the code more-inline with the jQuery Core Style Guideline.
Diffstat (limited to 'src/data.js')
-rw-r--r-- | src/data.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/data.js b/src/data.js index 69adc1239..e3dc1902a 100644 --- a/src/data.js +++ b/src/data.js @@ -100,7 +100,7 @@ jQuery.extend({ }); jQuery.fn.extend({ - data: function( key, value ){ + data: function( key, value ) { if ( typeof key === "undefined" && this.length ) { return jQuery.data( this[0] ); @@ -123,14 +123,14 @@ jQuery.fn.extend({ this.data( parts[0] ) : data; } else { - return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){ + return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function() { jQuery.data( this, key, value ); }); } }, - removeData: function( key ){ - return this.each(function(){ + removeData: function( key ) { + return this.each(function() { jQuery.removeData( this, key ); }); } |