From b3072b6fa6e972c9ada872bca98a655f3ae7ac73 Mon Sep 17 00:00:00 2001 From: Invis1ble Date: Sun, 9 Oct 2016 15:46:24 +0300 Subject: [PATCH] Fixed eslint rule --- dist/js/scrollbox.js | 2 +- src/js/scrollbox.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/js/scrollbox.js b/dist/js/scrollbox.js index 34331eb..8deb4ac 100644 --- a/dist/js/scrollbox.js +++ b/dist/js/scrollbox.js @@ -837,7 +837,7 @@ var Scrollbox = function ($) { if (!$.easing.momentum) { // easeOutExpo $.easing.momentum = function (x, t, b, c, d) { - /* eslint eqeqeq: "off" */ + /* eslint eqeqeq: 0 */ return t == d ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; }; } diff --git a/src/js/scrollbox.js b/src/js/scrollbox.js index 4f780c2..721c012 100644 --- a/src/js/scrollbox.js +++ b/src/js/scrollbox.js @@ -823,7 +823,7 @@ const Scrollbox = (($) => { if (!$.easing.momentum) { // easeOutExpo $.easing.momentum = (x, t, b, c, d) => { - /* eslint eqeqeq: "off" */ + /* eslint eqeqeq: 0 */ return t == d ? b + c : c * (- Math.pow(2, -10 * t / d) + 1) + b; }; }