aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-08-21 00:12:17 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-21 08:06:24 -0400
commitde242d8ca9bf2b90237c413cb91601541798bae9 (patch)
tree42658e1e9ed913dbb5a7c11291df74531f503995 /tests/unit
parent009850abbfb78e2334aaf9265abf5a7705a2abf0 (diff)
downloadjquery-ui-de242d8ca9bf2b90237c413cb91601541798bae9.tar.gz
jquery-ui-de242d8ca9bf2b90237c413cb91601541798bae9.zip
Effects: Style updates
Ref #14246 Ref gh-1588
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/effects/core.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/effects/core.js b/tests/unit/effects/core.js
index c8e7c2632..5f634a782 100644
--- a/tests/unit/effects/core.js
+++ b/tests/unit/effects/core.js
@@ -30,7 +30,7 @@ function notPresent( value, array, message ) {
// minDuration is used for "short" animate tests where we are only concerned about the final
var minDuration = 15,
- // duration is used for "long" animates where we plan on testing properties during animation
+ // Duration is used for "long" animates where we plan on testing properties during animation
duration = 200;
module( "effects.core" );
@@ -115,11 +115,11 @@ asyncTest( "animateClass works with colors", function() {
expect(2);
- // we want to catch the first frame of animation
+ // We want to catch the first frame of animation
jQuery.fx.step.backgroundColor = function( fx ) {
oldStep.apply( this, arguments );
- // make sure it has animated somewhere we can detect
+ // Make sure it has animated somewhere we can detect
if ( fx.pos > 255 / 2000 ) {
jQuery.fx.step.backgroundColor = oldStep;
notPresent( test.css("backgroundColor"),
@@ -206,14 +206,14 @@ function( assert ) {
expect( 2 );
var test = $( "div.ticket7106" );
- // ensure the class stays and that the css property stays
+ // Ensure the class stays and that the css property stays
function animationComplete() {
assert.hasClasses( test, "testClass", "class change during animateClass was not lost" );
equal( test.height(), 100, "css change during animateClass was not lost" );
start();
}
- // add a class and change a style property after starting an animated class
+ // Add a class and change a style property after starting an animated class
test.addClass( "animate", minDuration, animationComplete )
.addClass( "testClass" )
.height( 100 );