From 680d0610b1bca65abb9b4a33318b44ea77666396 Mon Sep 17 00:00:00 2001 From: Sebastian Kupke Date: Wed, 2 Oct 2019 15:05:18 +0200 Subject: [PATCH] Removed console.log statements. --- dist/iwmlib.js | 3 --- dist/iwmlib.pixi.js | 3 --- lib/flippable.js | 3 --- package-lock.json | 6 +++--- package.json | 2 +- 5 files changed, 4 insertions(+), 13 deletions(-) diff --git a/dist/iwmlib.js b/dist/iwmlib.js index 923cf6a..ff99be5 100644 --- a/dist/iwmlib.js +++ b/dist/iwmlib.js @@ -5038,13 +5038,10 @@ } start({ targetCenter = null } = {}) { - console.log('start'); this.flippable.showFront(); if (this.preloadBack) { - console.log('preloadBack'); this.flippable.start({ duration: this.flipDuration, targetCenter }); } else { - console.log('no back preload'); let back = this.cardWrapper.querySelector('.back'); let flippable = this.flippable; this.backLoader.load(back).then(loader => { diff --git a/dist/iwmlib.pixi.js b/dist/iwmlib.pixi.js index ad98abc..5c72d0e 100644 --- a/dist/iwmlib.pixi.js +++ b/dist/iwmlib.pixi.js @@ -8336,13 +8336,10 @@ } start({ targetCenter = null } = {}) { - console.log('start'); this.flippable.showFront(); if (this.preloadBack) { - console.log('preloadBack'); this.flippable.start({ duration: this.flipDuration, targetCenter }); } else { - console.log('no back preload'); let back = this.cardWrapper.querySelector('.back'); let flippable = this.flippable; this.backLoader.load(back).then(loader => { diff --git a/lib/flippable.js b/lib/flippable.js index 0f5b9bb..4b6d97d 100644 --- a/lib/flippable.js +++ b/lib/flippable.js @@ -332,13 +332,10 @@ export class DOMFlip { } start({ targetCenter = null } = {}) { - console.log('start') this.flippable.showFront() if (this.preloadBack) { - console.log('preloadBack') this.flippable.start({ duration: this.flipDuration, targetCenter }) } else { - console.log('no back preload') let back = this.cardWrapper.querySelector('.back') let flippable = this.flippable this.backLoader.load(back).then(loader => { diff --git a/package-lock.json b/package-lock.json index 4f496a6..b213c09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2647,9 +2647,9 @@ "dev": true }, "eslint": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.5.0.tgz", - "integrity": "sha512-IIbSW+vKOqMatPmS9ayyku4tvWxHY2iricSRtOz6+ZA5IPRlgXzEL0u/j6dr4eha0ugmhMwDTqxtmNu3kj9O4w==", + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.5.1.tgz", + "integrity": "sha512-32h99BoLYStT1iq1v2P9uwpyznQ4M2jRiFB6acitKz52Gqn+vPaMDUTB1bYi1WN4Nquj2w+t+bimYUG83DC55A==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", diff --git a/package.json b/package.json index b9949f1..b134761 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "license": "LGPL-3.0-or-later", "devDependencies": { "@pixi/jsdoc-template": "^2.4.3", - "eslint": "^6.5.0", + "eslint": "^6.5.1", "eslint-config-prettier": "^6.3.0", "eslint-plugin-prettier": "^3.1.1", "fs-extra": "^8.0.1",