Removed console.log statements.
This commit is contained in:
parent
ce25b1dbae
commit
680d0610b1
3
dist/iwmlib.js
vendored
3
dist/iwmlib.js
vendored
@ -5038,13 +5038,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
start({ targetCenter = null } = {}) {
|
start({ targetCenter = null } = {}) {
|
||||||
console.log('start');
|
|
||||||
this.flippable.showFront();
|
this.flippable.showFront();
|
||||||
if (this.preloadBack) {
|
if (this.preloadBack) {
|
||||||
console.log('preloadBack');
|
|
||||||
this.flippable.start({ duration: this.flipDuration, targetCenter });
|
this.flippable.start({ duration: this.flipDuration, targetCenter });
|
||||||
} else {
|
} else {
|
||||||
console.log('no back preload');
|
|
||||||
let back = this.cardWrapper.querySelector('.back');
|
let back = this.cardWrapper.querySelector('.back');
|
||||||
let flippable = this.flippable;
|
let flippable = this.flippable;
|
||||||
this.backLoader.load(back).then(loader => {
|
this.backLoader.load(back).then(loader => {
|
||||||
|
3
dist/iwmlib.pixi.js
vendored
3
dist/iwmlib.pixi.js
vendored
@ -8336,13 +8336,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
start({ targetCenter = null } = {}) {
|
start({ targetCenter = null } = {}) {
|
||||||
console.log('start');
|
|
||||||
this.flippable.showFront();
|
this.flippable.showFront();
|
||||||
if (this.preloadBack) {
|
if (this.preloadBack) {
|
||||||
console.log('preloadBack');
|
|
||||||
this.flippable.start({ duration: this.flipDuration, targetCenter });
|
this.flippable.start({ duration: this.flipDuration, targetCenter });
|
||||||
} else {
|
} else {
|
||||||
console.log('no back preload');
|
|
||||||
let back = this.cardWrapper.querySelector('.back');
|
let back = this.cardWrapper.querySelector('.back');
|
||||||
let flippable = this.flippable;
|
let flippable = this.flippable;
|
||||||
this.backLoader.load(back).then(loader => {
|
this.backLoader.load(back).then(loader => {
|
||||||
|
@ -332,13 +332,10 @@ export class DOMFlip {
|
|||||||
}
|
}
|
||||||
|
|
||||||
start({ targetCenter = null } = {}) {
|
start({ targetCenter = null } = {}) {
|
||||||
console.log('start')
|
|
||||||
this.flippable.showFront()
|
this.flippable.showFront()
|
||||||
if (this.preloadBack) {
|
if (this.preloadBack) {
|
||||||
console.log('preloadBack')
|
|
||||||
this.flippable.start({ duration: this.flipDuration, targetCenter })
|
this.flippable.start({ duration: this.flipDuration, targetCenter })
|
||||||
} else {
|
} else {
|
||||||
console.log('no back preload')
|
|
||||||
let back = this.cardWrapper.querySelector('.back')
|
let back = this.cardWrapper.querySelector('.back')
|
||||||
let flippable = this.flippable
|
let flippable = this.flippable
|
||||||
this.backLoader.load(back).then(loader => {
|
this.backLoader.load(back).then(loader => {
|
||||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -2647,9 +2647,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"eslint": {
|
"eslint": {
|
||||||
"version": "6.5.0",
|
"version": "6.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-6.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-6.5.1.tgz",
|
||||||
"integrity": "sha512-IIbSW+vKOqMatPmS9ayyku4tvWxHY2iricSRtOz6+ZA5IPRlgXzEL0u/j6dr4eha0ugmhMwDTqxtmNu3kj9O4w==",
|
"integrity": "sha512-32h99BoLYStT1iq1v2P9uwpyznQ4M2jRiFB6acitKz52Gqn+vPaMDUTB1bYi1WN4Nquj2w+t+bimYUG83DC55A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/code-frame": "^7.0.0",
|
"@babel/code-frame": "^7.0.0",
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
"license": "LGPL-3.0-or-later",
|
"license": "LGPL-3.0-or-later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@pixi/jsdoc-template": "^2.4.3",
|
"@pixi/jsdoc-template": "^2.4.3",
|
||||||
"eslint": "^6.5.0",
|
"eslint": "^6.5.1",
|
||||||
"eslint-config-prettier": "^6.3.0",
|
"eslint-config-prettier": "^6.3.0",
|
||||||
"eslint-plugin-prettier": "^3.1.1",
|
"eslint-plugin-prettier": "^3.1.1",
|
||||||
"fs-extra": "^8.0.1",
|
"fs-extra": "^8.0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user