aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorYehuda Katz <wycats@Yehuda-Katz.local>2009-12-09 21:15:49 -0800
committerYehuda Katz <wycats@Yehuda-Katz.local>2009-12-09 21:17:10 -0800
commit1a4d1904ae8631f94b7400d99af24d3fe2f33ecd (patch)
tree5abaa5ef73f77ae556112a413c767f8a37d25614 /src/manipulation.js
parentb3cee01820adde707428d68fcf02b0fdf53fe527 (diff)
downloadjquery-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.js10
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 ) );