From: jeresig Date: Sat, 13 Feb 2010 07:26:50 +0000 (-0500) Subject: Rename internal .getText to maintain parity between it and the primary .text(). Fixes... X-Git-Tag: 1.4.2~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a7dc66b8325906066071fe5c44ce55ecf2eb5aed;p=jquery.git Rename internal .getText to maintain parity between it and the primary .text(). Fixes #6094. --- 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;