@egjs/flicking 4.7.0 → 4.7.3

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  <a href="https://www.npmjs.com/package/@egjs/flicking" target="_blank"><img src="https://img.shields.io/npm/v/@egjs/flicking.svg?style=flat-square&color=007acc&label=version&logo=NPM" alt="version" /></a>
8
8
  <a href="https://www.npmjs.com/package/@egjs/flicking" target="_blank"><img alt="npm bundle size (scoped)" src="https://img.shields.io/bundlephobia/minzip/@egjs/flicking.svg?style=flat-square&label=%F0%9F%92%BE%20gzipped&color=007acc" /></a>
9
9
  <a href="https://coveralls.io/github/naver/egjs-flicking?branch=master&style=flat-square" target="_blank"><img alt="Coveralls github" src="https://img.shields.io/coveralls/github/naver/egjs-flicking.svg?style=flat-square&label=%E2%9C%85%20coverage" /></a>
10
- <a href="https://deepscan.io/dashboard#view=project&tid=3998&pid=5802&bid=46086"><img src="https://deepscan.io/api/teams/3998/projects/5802/branches/46086/badge/grade.svg" alt="DeepScan grade" /></a>
10
+ <a href="https://deepscan.io/dashboard#view=project&tid=3998&pid=5802&bid=46086"><img src="https://flat.badgen.net/deepscan/grade/team/3998/project/5802/branch/46086" alt="DeepScan grade" /></a>
11
11
  </p>
12
12
  <p align="center" style="line-height: 2;">
13
13
  <a href="https://github.com/naver/egjs-flicking/graphs/commit-activity">
@@ -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: 4.7.0
7
+ version: 4.7.3
8
8
  */
9
9
  import Component, { ComponentEvent } from '@egjs/component';
10
10
  import Axes, { PanInput } from '@egjs/axes';
@@ -5322,7 +5322,7 @@ function () {
5322
5322
  if (!resizeOnContentsReady || flicking.virtualEnabled) return;
5323
5323
 
5324
5324
  var hasContents = function (panel) {
5325
- return !!panel.element.querySelector("img, video");
5325
+ return panel.element && !!panel.element.querySelector("img, video");
5326
5326
  };
5327
5327
 
5328
5328
  checkingPanels = checkingPanels.filter(function (panel) {
@@ -8425,7 +8425,7 @@ function (_super) {
8425
8425
  */
8426
8426
 
8427
8427
 
8428
- Flicking.VERSION = "4.7.0";
8428
+ Flicking.VERSION = "4.7.3";
8429
8429
  return Flicking;
8430
8430
  }(Component);
8431
8431