aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-02-13 02:26:50 -0500
committerjeresig <jeresig@gmail.com>2010-02-13 02:26:50 -0500
commita7dc66b8325906066071fe5c44ce55ecf2eb5aed (patch)
treefe62f3a13d12dc95ce911f3e560046260f3753da /src
parentabcc1a76ee2a6733177b2cd104bc32cee5443ec4 (diff)
downloadjquery-a7dc66b8325906066071fe5c44ce55ecf2eb5aed.tar.gz
jquery-a7dc66b8325906066071fe5c44ce55ecf2eb5aed.zip
Rename internal .getText to maintain parity between it and the primary .text(). Fixes #6094.
Diffstat (limited to 'src')
-rw-r--r--src/manipulation.js2
-rw-r--r--src/sizzle-jquery.js2
2 files changed, 2 insertions, 2 deletions
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;