Skip to content
Permalink
Browse files

Rename internal .getText to maintain parity between it and the primar…

…y .text(). Fixes #6094.
  • Loading branch information
jeresig committed Feb 13, 2010
1 parent abcc1a7 commit a7dc66b8325906066071fe5c44ce55ecf2eb5aed
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/manipulation.js
  2. +1 −1 src/sizzle-jquery.js
@@ -45,7 +45,7 @@ jQuery.fn.extend({
return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) );
}

return jQuery.getText( this );
return jQuery.text( this );
},

wrapAll: function( html ) {
@@ -2,7 +2,7 @@ jQuery.find = Sizzle;
jQuery.expr = Sizzle.selectors;
jQuery.expr[":"] = jQuery.expr.filters;
jQuery.unique = Sizzle.uniqueSort;
jQuery.getText = getText;
jQuery.text = getText;
jQuery.isXMLDoc = isXML;
jQuery.contains = contains;

0 comments on commit a7dc66b

Please sign in to comment.
You can’t perform that action at this time.