We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ef09c commit dd100bfCopy full SHA for dd100bf
test/unit/manipulation.js
@@ -799,9 +799,9 @@ var testReplaceWith = function(val) {
799
var set = jQuery("<div/>").replaceWith(val("<span>test</span>"));
800
equals( set[0].nodeName.toLowerCase(), "span", "Replace the disconnected node." );
801
equals( set.length, 1, "Replace the disconnected node." );
802
-
+
803
var non_existant = jQuery('#does-not-exist').replaceWith( val("<b>should not throw an error</b>") );
804
- equals( non_existant.length, 0, "Length of non existant element." )
+ equals( non_existant.length, 0, "Length of non existant element." );
805
806
var $div = jQuery("<div class='replacewith'></div>").appendTo("body");
807
// TODO: Work on jQuery(...) inline script execution
0 commit comments