From a7dc66b8325906066071fe5c44ce55ecf2eb5aed Mon Sep 17 00:00:00 2001 From: jeresig Date: Sat, 13 Feb 2010 02:26:50 -0500 Subject: Rename internal .getText to maintain parity between it and the primary .text(). Fixes #6094. --- src/manipulation.js | 2 +- src/sizzle-jquery.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3