aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2014-08-07 08:19:30 -0400
committerMike Sherov <mike.sherov@gmail.com>2014-08-12 19:30:09 -0400
commit2ac07699677de33a93d6d22cf612039b8637bd2e (patch)
tree806cd481939e5b0d6b8f0b7ed3ff29d358efe547 /tests
parent0ad31ca469d541dd0ee56c992da08bfaafbdfeaf (diff)
downloadjquery-ui-2ac07699677de33a93d6d22cf612039b8637bd2e.tar.gz
jquery-ui-2ac07699677de33a93d6d22cf612039b8637bd2e.zip
Draggable Tests: Fix several whitespace issues.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/draggable/draggable_core.js3
-rw-r--r--tests/unit/draggable/draggable_test_helpers.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/draggable/draggable_core.js b/tests/unit/draggable/draggable_core.js
index dd526e5ec..8d611514f 100644
--- a/tests/unit/draggable/draggable_core.js
+++ b/tests/unit/draggable/draggable_core.js
@@ -174,7 +174,6 @@ test( "#5009: scroll not working with parent's position fixed", function() {
}
});
-
TestHelpers.forceScrollableWindow();
$( "#wrapper" ).css( "position", "fixed" );
@@ -221,7 +220,7 @@ test( "#9379: Draggable: position bug in scrollable div", function() {
});
});
-test( "#5727: draggable from iframe" , function() {
+test( "#5727: draggable from iframe", function() {
expect( 1 );
var iframeBody, draggable1,
diff --git a/tests/unit/draggable/draggable_test_helpers.js b/tests/unit/draggable/draggable_test_helpers.js
index e27adbffa..a0fdccfca 100644
--- a/tests/unit/draggable/draggable_test_helpers.js
+++ b/tests/unit/draggable/draggable_test_helpers.js
@@ -110,7 +110,7 @@ TestHelpers.draggable = {
el.draggable( "option", "helper", "clone" );
// Get what parent is at time of drag
- el.bind( "drag", function(e,ui) {
+ el.bind( "drag", function(e, ui) {
el.data( "last_dragged_parent", ui.helper.parent()[ 0 ] );
});
}