diff options
author | Yehuda Katz <wycats@Yehuda-Katz.local> | 2009-12-09 21:15:49 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@Yehuda-Katz.local> | 2009-12-09 21:17:10 -0800 |
commit | 1a4d1904ae8631f94b7400d99af24d3fe2f33ecd (patch) | |
tree | 5abaa5ef73f77ae556112a413c767f8a37d25614 /src/manipulation.js | |
parent | b3cee01820adde707428d68fcf02b0fdf53fe527 (diff) | |
download | jquery-1a4d1904ae8631f94b7400d99af24d3fe2f33ecd.tar.gz jquery-1a4d1904ae8631f94b7400d99af24d3fe2f33ecd.zip |
Fix up whitespace and a couple of glitches.
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index baab8c6c0..17cfa842d 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -32,11 +32,11 @@ if ( !jQuery.support.htmlSerialize ) { jQuery.fn.extend({ text: function( text ) { - if(jQuery.isFunction(text)) { - return this.each(function() { - return jQuery(this).text( text.call(this) ); - }); - } + if(jQuery.isFunction(text)) { + return this.each(function() { + return jQuery(this).text( text.call(this) ); + }); + } if ( typeof text !== "object" && text !== undefined ) { return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) ); |