Skip to content
Permalink
Browse files

Resizable: Whitespace Cleanup

  • Loading branch information
mikesherov committed Jan 28, 2015
1 parent 79c4fa1 commit 337e4110b0cb60c73bb27be2e2b855a75a0c4b2e
Showing with 3 additions and 3 deletions.
  1. +2 −2 tests/unit/resizable/resizable_options.js
  2. +1 −1 ui/resizable.js
@@ -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");
@@ -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;

0 comments on commit 337e411

Please sign in to comment.
You can’t perform that action at this time.