aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/slider/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/slider/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/slider/options.js')
-rw-r--r--tests/unit/slider/options.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/slider/options.js b/tests/unit/slider/options.js
index e8a9b4208..40b6bab22 100644
--- a/tests/unit/slider/options.js
+++ b/tests/unit/slider/options.js
@@ -4,6 +4,7 @@ define( [
"lib/helper",
"ui/widgets/slider"
], function( QUnit, $, helper ) {
+"use strict";
var element, options;
@@ -147,7 +148,7 @@ QUnit.test( "orientation", function( assert ) {
assert.equal( element.find( ".ui-slider-handle" )[ 0 ].style.bottom, "", "CSS bottom reset" );
assert.equal( handle()[ 0 ].style.left, percentVal + "%", "horizontal slider handle is positioned with left: %" );
- element.slider( "destroy" ) ;
+ element.slider( "destroy" );
options = {
max: 2,