aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectable/options.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/selectable/options.js')
-rw-r--r--tests/unit/selectable/options.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/unit/selectable/options.js b/tests/unit/selectable/options.js
index 02c0d2b2a..6c9e84901 100644
--- a/tests/unit/selectable/options.js
+++ b/tests/unit/selectable/options.js
@@ -4,6 +4,7 @@ define( [
"lib/helper",
"ui/widgets/selectable"
], function( QUnit, $, helper ) {
+"use strict";
QUnit.module( "selectable: options", { afterEach: helper.moduleAfterEach } );
@@ -13,7 +14,9 @@ QUnit.test( "autoRefresh", function( assert ) {
var actual = 0,
el = $( "#selectable1" ),
sel = $( "*", el ),
- selected = function() { actual += 1; };
+ selected = function() {
+ actual += 1;
+ };
el = $( "#selectable1" ).selectable( { autoRefresh: false, selected: selected } );
sel.hide();
@@ -51,7 +54,9 @@ QUnit.test( "filter", function( assert ) {
var actual = 0,
el = $( "#selectable1" ),
sel = $( "*", el ),
- selected = function() { actual += 1; };
+ selected = function() {
+ actual += 1;
+ };
el = $( "#selectable1" ).selectable( { filter: ".special", selected: selected } );
el.simulate( "drag", {