@@ -30,7 +30,7 @@ function notPresent( value, array, message ) {
3030// minDuration is used for "short" animate tests where we are only concerned about the final
3131var minDuration = 15 ,
3232
33- // duration is used for "long" animates where we plan on testing properties during animation
33+ // Duration is used for "long" animates where we plan on testing properties during animation
3434 duration = 200 ;
3535
3636module ( "effects.core" ) ;
@@ -115,11 +115,11 @@ asyncTest( "animateClass works with colors", function() {
115115
116116 expect ( 2 ) ;
117117
118- // we want to catch the first frame of animation
118+ // We want to catch the first frame of animation
119119 jQuery . fx . step . backgroundColor = function ( fx ) {
120120 oldStep . apply ( this , arguments ) ;
121121
122- // make sure it has animated somewhere we can detect
122+ // Make sure it has animated somewhere we can detect
123123 if ( fx . pos > 255 / 2000 ) {
124124 jQuery . fx . step . backgroundColor = oldStep ;
125125 notPresent ( test . css ( "backgroundColor" ) ,
@@ -206,14 +206,14 @@ function( assert ) {
206206 expect ( 2 ) ;
207207 var test = $ ( "div.ticket7106" ) ;
208208
209- // ensure the class stays and that the css property stays
209+ // Ensure the class stays and that the css property stays
210210 function animationComplete ( ) {
211211 assert . hasClasses ( test , "testClass" , "class change during animateClass was not lost" ) ;
212212 equal ( test . height ( ) , 100 , "css change during animateClass was not lost" ) ;
213213 start ( ) ;
214214 }
215215
216- // add a class and change a style property after starting an animated class
216+ // Add a class and change a style property after starting an animated class
217217 test . addClass ( "animate" , minDuration , animationComplete )
218218 . addClass ( "testClass" )
219219 . height ( 100 ) ;
0 commit comments