assert.equal( jQuery( option ).prop( "selected" ), true, "Make sure that a single option is selected, even when in an optgroup." );
$img = jQuery( "<img style='display:none' width='215' height='53' src='data/1x1.jpg'/>" ).appendTo( "body" );
- assert.equal( $img.attr( "width" ), "215", "Retrieve width attribute an an element with display:none." );
- assert.equal( $img.attr( "height" ), "53", "Retrieve height attribute an an element with display:none." );
+ assert.equal( $img.attr( "width" ), "215", "Retrieve width attribute on an element with display:none." );
+ assert.equal( $img.attr( "height" ), "53", "Retrieve height attribute on an element with display:none." );
// Check for style support
styleElem = jQuery( "<div/>" ).appendTo( "#qunit-fixture" ).css( {
// If "copyIsArray" doesn't get reset to false, the check
// will evaluate true and enter the array copy block
// instead of the object copy block. Since the ternary in the
- // "copyIsArray" block will will evaluate to false
+ // "copyIsArray" block will evaluate to false
// (check if operating on an array with ), this will be
// replaced by an empty array.
object: {}