]> source.dussan.org Git - jquery.git/commitdiff
Rename internal .getText to maintain parity between it and the primary .text(). Fixes...
authorjeresig <jeresig@gmail.com>
Sat, 13 Feb 2010 07:26:50 +0000 (02:26 -0500)
committerjeresig <jeresig@gmail.com>
Sat, 13 Feb 2010 07:26:50 +0000 (02:26 -0500)
src/manipulation.js
src/sizzle-jquery.js

index e673e2fe8dc53e51974c23229a8ae95d5926f0c0..b2a9df919d577702511e1157247f6ad2ce9e9812 100644 (file)
@@ -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 ) {
index 4243c504c5a7ba88e74cdbaff5c909f002df4d62..8265410dc1a25c9aa196e98367d290f014b29de4 100644 (file)
@@ -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;