Skip to content
Permalink
Browse files

Draggable tests: Wrap IIFE in parens.

  • Loading branch information...
scottgonzalez committed Apr 8, 2013
1 parent b8efbd6 commit d7ea0e5e519da8be0eed08a0db07f752114b752a
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/draggable/draggable_test_helpers.js
@@ -2,10 +2,10 @@ TestHelpers.draggable = {
// TODO: remove the unreliable offset hacks
unreliableOffset: $.ui.ie && ( !document.documentMode || document.documentMode < 8 ) ? 2 : 0,
// Support: Opera 12.10, Safari 5.1, jQuery <1.8
unreliableContains: function(){
unreliableContains: (function(){
var element = $( "<div>" );
return $.contains( element[ 0 ].ownerDocument, element[ 0 ] );
}(),
})(),
testDrag: function( el, handle, dx, dy, expectedDX, expectedDY, msg ) {
var offsetAfter, actual, expected,
offsetBefore = el.offset();

0 comments on commit d7ea0e5

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