Skip to content
Permalink
Browse files
Use tabs instead of spaces
"$" => "jQuery"
  • Loading branch information
markelog committed Dec 23, 2012
1 parent 9e703a2 commit 2dd2e48
Showing 1 changed file with 4 additions and 4 deletions.
@@ -2242,17 +2242,17 @@ test( "insertAfter, insertBefore, etc do not work when destination is original e
test( "Index for function argument should be received (#13094)", 2, function() {
var i = 0;

jQuery("<div/><div/>").before(function( index ) {
equal( index, i++, "Index should be correct" );
});
jQuery("<div/><div/>").before(function( index ) {
equal( index, i++, "Index should be correct" );
});

});

test( "Make sure jQuery.fn.remove can work on elements in documentFragment", 1, function() {
var fragment = document.createDocumentFragment(),
div = fragment.appendChild( document.createElement("div") );

$( div ).remove();
jQuery( div ).remove();

equal( fragment.childNodes.length, 0, "div element was removed from documentFragment" );
});

0 comments on commit 2dd2e48

Please sign in to comment.