Rename internal .getText to maintain parity between it and the primary .text(). Fixes #6094.

This commit is contained in:
jeresig 2010-02-13 02:26:50 -05:00
parent abcc1a76ee
commit a7dc66b832
2 changed files with 2 additions and 2 deletions

View file

@ -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 ) {

View file

@ -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;