mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 13:08:11 -05:00
Use tabs instead of spaces
"$" => "jQuery"
This commit is contained in:
@@ -2242,9 +2242,9 @@ 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" );
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -2252,7 +2252,7 @@ test( "Make sure jQuery.fn.remove can work on elements in documentFragment", 1,
|
||||
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" );
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user