Resizable: Whitespace Cleanup

This commit is contained in:
Mike Sherov
2015-01-27 22:07:32 -05:00
parent 79c4fa1e7a
commit 337e4110b0
2 changed files with 3 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ test( "containment - immediate parent", function() {
test("grid", function() {
expect(4);
var handle = ".ui-resizable-se", target = $("#resizable1").resizable({ handles: "all", grid: [0, 20] });
var handle = ".ui-resizable-se", target = $("#resizable1").resizable({ handles: "all", grid: [ 0, 20 ] });
TestHelpers.resizable.drag(handle, 3, 9);
equal( target.width(), 103, "compare width");
@@ -264,7 +264,7 @@ test("grid (min/max dimensions)", function() {
test("grid (wrapped)", function() {
expect(4);
var handle = ".ui-resizable-se", target = $("#resizable2").resizable({ handles: "all", grid: [0, 20] });
var handle = ".ui-resizable-se", target = $("#resizable2").resizable({ handles: "all", grid: [ 0, 20 ] });
TestHelpers.resizable.drag(handle, 3, 9);
equal( target.width(), 103, "compare width");

View File

@@ -948,7 +948,7 @@ $.ui.plugin.add( "resizable", "containment", {
}
}
if ( !continueResize ){
if ( !continueResize ) {
that.position.left = that.prevPosition.left;
that.position.top = that.prevPosition.top;
that.size.width = that.prevSize.width;