Followup #13779: Backwards-compatible unit test

(cherry picked from commit 12a1017290)
This commit is contained in:
Richard Gibson 2013-04-17 12:23:44 -04:00
parent 03db1ada2c
commit 039371c741

View File

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