diff --git a/src/manipulation.js b/src/manipulation.js index e673e2fe8..b2a9df919 100644 --- a/src/manipulation.js +++ b/src/manipulation.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 ) { diff --git a/src/sizzle-jquery.js b/src/sizzle-jquery.js index 4243c504c..8265410dc 100644 --- a/src/sizzle-jquery.js +++ b/src/sizzle-jquery.js @@ -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;