git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix up whitespace and a couple of glitches.
[jquery.git]
/
src
/
manipulation.js
diff --git
a/src/manipulation.js
b/src/manipulation.js
index
baab8c6
..
17cfa84
100644
(file)
--- a/
src/manipulation.js
+++ b/
src/manipulation.js
@@
-32,11
+32,11
@@
if ( !jQuery.support.htmlSerialize ) {
jQuery.fn.extend({
text: function( text ) {
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 ) );
if ( typeof text !== "object" && text !== undefined ) {
return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) );