Skip to content

Commit

Permalink
fix(shape): use classname alias to short variable access
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de committed Jul 20, 2024
1 parent 0322d13 commit dded348
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/definitions/modules/shape.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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)
;
Expand All @@ -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
Expand Down

0 comments on commit dded348

Please sign in to comment.