From dded3487dfeae83bb3a93bdac300dd2306c08453 Mon Sep 17 00:00:00 2001 From: lubber-de Date: Sat, 20 Jul 2024 21:37:28 +0200 Subject: [PATCH] fix(shape): use classname alias to short variable access --- src/definitions/modules/shape.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/definitions/modules/shape.js b/src/definitions/modules/shape.js index 0bca06cc82..bedeabfea0 100644 --- a/src/definitions/modules/shape.js +++ b/src/definitions/modules/shape.js @@ -185,7 +185,7 @@ set: { defaultSide: function () { - $activeSide = $side.filter('.' + settings.className.active); + $activeSide = $side.filter('.' + className.active); $nextSide = $activeSide.next(selector.side).length > 0 ? $activeSide.next(selector.side) : $side.first(); @@ -211,7 +211,7 @@ currentStageSize: function () { var - $activeSide = $side.filter('.' + settings.className.active), + $activeSide = $side.filter('.' + className.active), width = $activeSide.outerWidth(true), height = $activeSide.outerHeight(true) ; @@ -227,7 +227,7 @@ var $clone = $module.clone().addClass(className.loading), $side = $clone.find('>' + selector.sides + '>' + selector.side), - $activeSide = $side.filter('.' + settings.className.active), + $activeSide = $side.filter('.' + className.active), $nextSide = nextIndex ? $side.eq(nextIndex) : ($activeSide.next(selector.side).length > 0