@egjs/flicking 3.9.0 → 3.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/flicking.js CHANGED
@@ -4,7 +4,7 @@ name: @egjs/flicking
4
4
  license: MIT
5
5
  author: NAVER Corp.
6
6
  repository: https://github.com/naver/egjs-flicking
7
- version: 3.9.0
7
+ version: 3.9.1
8
8
  */
9
9
  (function (global, factory) {
10
10
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@egjs/component'), require('@egjs/imready'), require('@egjs/axes')) :
@@ -3378,7 +3378,7 @@ version: 3.9.0
3378
3378
  var relativeHangerPosition = this.getRelativeHangerPosition();
3379
3379
  var areaPrev = (relativeHangerPosition - relativeAnchorPosition) % sumOriginalPanelSize;
3380
3380
  var sizeSum = 0;
3381
- var panelAtLeftBoundary;
3381
+ var panelAtLeftBoundary = null;
3382
3382
 
3383
3383
  for (var _i = 0, reversedPanels_1 = reversedPanels; _i < reversedPanels_1.length; _i++) {
3384
3384
  var panel = reversedPanels_1[_i];
@@ -3397,7 +3397,7 @@ version: 3.9.0
3397
3397
 
3398
3398
  var areaNext = (viewportSize - relativeHangerPosition + relativeAnchorPosition) % sumOriginalPanelSize;
3399
3399
  sizeSum = 0;
3400
- var panelAtRightBoundary;
3400
+ var panelAtRightBoundary = null;
3401
3401
 
3402
3402
  for (var _a = 0, panels_1 = panels; _a < panels_1.length; _a++) {
3403
3403
  var panel = panels_1[_a];
@@ -3415,7 +3415,7 @@ version: 3.9.0
3415
3415
  } // Need one more set of clones on prev area of original panel 0
3416
3416
 
3417
3417
 
3418
- var needCloneOnPrev = panelAtLeftBoundary.getIndex() !== 0 && panelAtLeftBoundary.getIndex() <= panelAtRightBoundary.getIndex(); // Visible count of panel 0 on first screen
3418
+ var needCloneOnPrev = panelAtLeftBoundary && panelAtRightBoundary && panelAtLeftBoundary.getIndex() !== 0 && panelAtLeftBoundary.getIndex() <= panelAtRightBoundary.getIndex(); // Visible count of panel 0 on first screen
3419
3419
 
3420
3420
  var panel0OnFirstscreen = Math.ceil((relativeHangerPosition + firstPanel.getSize() - relativeAnchorPosition) / sumOriginalPanelSize) + Math.ceil((viewportSize - relativeHangerPosition + relativeAnchorPosition) / sumOriginalPanelSize) - 1; // duplication
3421
3421
 
@@ -5087,7 +5087,7 @@ version: 3.9.0
5087
5087
  */
5088
5088
 
5089
5089
 
5090
- Flicking.VERSION = "3.9.0";
5090
+ Flicking.VERSION = "3.9.1";
5091
5091
  /**
5092
5092
  * Direction constant - "PREV" or "NEXT"
5093
5093
  * @ko 방향 상수 - "PREV" 또는 "NEXT"