]> source.dussan.org Git - jquery.git/commitdiff
Followup #13779: Backwards-compatible unit test
authorRichard Gibson <richard.gibson@gmail.com>
Wed, 17 Apr 2013 16:23:44 +0000 (12:23 -0400)
committerRichard Gibson <richard.gibson@gmail.com>
Wed, 17 Apr 2013 16:25:48 +0000 (12:25 -0400)
(cherry picked from commit 12a101729086ec1f9b8b029cd66971c11959bc33)

test/unit/manipulation.js

index 09b425c8af19375476b276a67ddef01d2e2771ea..7f68674898f9dad7c3db3fcf4b09c1d43fcb6c73 100644 (file)
@@ -1577,7 +1577,7 @@ test( "remove() in document order #13779", 1, function() {
                cleanData = jQuery.cleanData;
 
        jQuery.cleanData = function( nodes ) {
-               last = nodes[0].textContent;
+               last = jQuery.text( nodes[0] );
                cleanData.call( this, nodes );
        };