mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Clean up whitespace in test/unit/effects.js
This commit is contained in:
parent
3930afa3ad
commit
dba8c20b4b
7
test/unit/effects.js
vendored
7
test/unit/effects.js
vendored
@ -53,7 +53,6 @@ test("show()", function() {
|
|||||||
ok( pass, "Show with " + name);
|
ok( pass, "Show with " + name);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
jQuery.each(speeds, function(name, speed) {
|
jQuery.each(speeds, function(name, speed) {
|
||||||
pass = true;
|
pass = true;
|
||||||
div.hide().show(speed, function() {
|
div.hide().show(speed, function() {
|
||||||
@ -152,17 +151,11 @@ test("Persist correct display value", function() {
|
|||||||
$span.hide();
|
$span.hide();
|
||||||
|
|
||||||
$span.fadeIn(100, function() {
|
$span.fadeIn(100, function() {
|
||||||
|
|
||||||
equals($span.css("display"), display, "Expecting display: " + display);
|
equals($span.css("display"), display, "Expecting display: " + display);
|
||||||
|
|
||||||
$span.fadeOut(100, function () {
|
$span.fadeOut(100, function () {
|
||||||
|
|
||||||
equals($span.css("display"), displayNone, "Expecting display: " + displayNone);
|
equals($span.css("display"), displayNone, "Expecting display: " + displayNone);
|
||||||
|
|
||||||
$span.fadeIn(100, function() {
|
$span.fadeIn(100, function() {
|
||||||
|
|
||||||
equals($span.css("display"), display, "Expecting display: " + display);
|
equals($span.css("display"), display, "Expecting display: " + display);
|
||||||
|
|
||||||
start();
|
start();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user