]> source.dussan.org Git - jquery-ui.git/commitdiff
Fix typos in original tests
authorDavid Murdoch <musicisair@yahoo.com>
Thu, 12 May 2011 20:44:24 +0000 (20:44 +0000)
committerDavid Murdoch <musicisair@yahoo.com>
Thu, 12 May 2011 20:44:24 +0000 (20:44 +0000)
tests/unit/position/position_core.js

index dbbda8a3b8ae0bbac04223a6670ed3f93c47ac82..b3f5d9b61e1afaf8983dd92f36166f01d4a8f88d 100644 (file)
@@ -1,7 +1,7 @@
 (function( $ ) {
 
 function scrollTopSupport() {
-       $( window ).scrollTop( 1 );
+    $( window ).scrollTop( 1 );
        return $( window ).scrollTop() === 1;
 }
 
@@ -64,7 +64,6 @@ test( "positions", function() {
                center: 3,
                right: 6,
                top: 0,
-               center: 3,
                bottom: 6
        };
        var start = { left: 4, top: 4 };
@@ -351,7 +350,7 @@ test( "collision: flip, with offset", function() {
 
        collisionTest2({
                collision: "flip",
-               at: "left-2 top-3",
+               at: "left-2 top-3"
        }, { top: $( window ).height() + 3, left: $( window ).width() + 2 }, "right bottom, negative offset" );
 });