Commit a7dc66b8 authored by jeresig's avatar jeresig

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

parent abcc1a76
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment