diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-12-26 08:08:48 -0500 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-12-26 08:08:48 -0500 |
commit | 0d4022bceb33fb95c41fab768c1829d464861899 (patch) | |
tree | 8584929224e413fd6163c4000fe03b6978f969ec /tests/unit/draggable/draggable_test_helpers.js | |
parent | 74d7eac2daabce0411e98ed9d59dada551cdd911 (diff) | |
download | jquery-ui-0d4022bceb33fb95c41fab768c1829d464861899.tar.gz jquery-ui-0d4022bceb33fb95c41fab768c1829d464861899.zip |
Tests: Convert single quotes to double quotes.
Diffstat (limited to 'tests/unit/draggable/draggable_test_helpers.js')
-rw-r--r-- | tests/unit/draggable/draggable_test_helpers.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/unit/draggable/draggable_test_helpers.js b/tests/unit/draggable/draggable_test_helpers.js index 9a6355b2e..c1ac0ab88 100644 --- a/tests/unit/draggable/draggable_test_helpers.js +++ b/tests/unit/draggable/draggable_test_helpers.js @@ -15,7 +15,7 @@ TestHelpers.draggable = { expected = { left: offsetBefore.left + expectedDX, top: offsetBefore.top + expectedDY }; msg = msg ? msg + "." : ""; - deepEqual(actual, expected, 'dragged[' + dx + ', ' + dy + '] ' + msg); + deepEqual(actual, expected, "dragged[" + dx + ", " + dy + "] " + msg); }, shouldMove: function(el, why) { TestHelpers.draggable.testDrag(el, el, 50, 50, 50, 50, why); @@ -24,10 +24,10 @@ TestHelpers.draggable = { TestHelpers.draggable.testDrag(el, el, 50, 50, 0, 0, why); }, testScroll: function(el, position ) { - var oldPosition = $("#main").css('position'); - $("#main").css('position', position); - TestHelpers.draggable.shouldMove(el, position+' parent'); - $("#main").css('position', oldPosition); + var oldPosition = $("#main").css("position"); + $("#main").css("position", position); + TestHelpers.draggable.shouldMove(el, position+" parent"); + $("#main").css("position", oldPosition); }, restoreScroll: function( what ) { if( what ) { @@ -46,9 +46,9 @@ TestHelpers.draggable = { } }, border: function(el, side) { - return parseInt(el.css('border-' + side + '-width'), 10) || 0; + return parseInt(el.css("border-" + side + "-width"), 10) || 0; }, margin: function(el, side) { - return parseInt(el.css('margin-' + side), 10) || 0; + return parseInt(el.css("margin-" + side), 10) || 0; } };
\ No newline at end of file |