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