aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectable/options.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-06-07 00:58:12 +0200
committerGitHub <noreply@github.com>2021-06-07 00:58:12 +0200
commit70dae67b73dfea9126f126f516fe8286f1e73417 (patch)
treee61eafab41ee74330fecf1da2ce125050cfac49b /tests/unit/selectable/options.js
parenta12c98574d07f002fd59d166f9fc1fd391581b91 (diff)
downloadjquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.tar.gz
jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.zip
Build: Migrate from JSHint & JSCS to ESLint
Fixes #15393 Closes gh-1958
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", {