From 9406881db69177b4c7174d1848339007f3fe2305 Mon Sep 17 00:00:00 2001 From: lindelof <Phragmen@protonmail.com> Date: Mon, 6 Apr 2020 00:11:04 +0800 Subject: [PATCH] update version --- package.json | 2 +- src/particles-bg/particles/BallParticles.vue | 2 +- src/particles-bg/particles/CanvasComp.vue | 2 +- src/particles-bg/particles/CircleParticles.vue | 2 +- src/particles-bg/particles/CobwebParticles.vue | 2 +- src/particles-bg/particles/ColorParticles.vue | 2 +- src/particles-bg/particles/CustomParticles.vue | 2 +- src/particles-bg/particles/FountainParticles.vue | 2 +- src/particles-bg/particles/LinesParticles.vue | 2 +- src/particles-bg/particles/PolygonParticles.vue | 2 +- src/particles-bg/particles/SquareParticles.vue | 2 +- src/particles-bg/particles/TadpoleParticles.vue | 2 +- src/particles-bg/particles/ThickParticles.vue | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index b5e86f5..c4909e5 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "particles-bg-vue", - "version": "1.3.1", + "version": "1.3.2", "description": "Vue.js component for particles backgrounds", "author": "creotip@gmail.com", "license": "MIT", diff --git a/src/particles-bg/particles/BallParticles.vue b/src/particles-bg/particles/BallParticles.vue index 6c80d12..dc82f9c 100755 --- a/src/particles-bg/particles/BallParticles.vue +++ b/src/particles-bg/particles/BallParticles.vue @@ -161,7 +161,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/CanvasComp.vue b/src/particles-bg/particles/CanvasComp.vue index b561745..897caff 100755 --- a/src/particles-bg/particles/CanvasComp.vue +++ b/src/particles-bg/particles/CanvasComp.vue @@ -75,7 +75,7 @@ export default { this.resize = this.resize.bind(this); window.addEventListener("resize", this.resize); }, - beforeDestory() { + beforeDestroy() { window.removeEventListener("resize", this.resize); } }; diff --git a/src/particles-bg/particles/CircleParticles.vue b/src/particles-bg/particles/CircleParticles.vue index d0a29d9..e7db39b 100755 --- a/src/particles-bg/particles/CircleParticles.vue +++ b/src/particles-bg/particles/CircleParticles.vue @@ -102,7 +102,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/CobwebParticles.vue b/src/particles-bg/particles/CobwebParticles.vue index 0067c44..509bff9 100755 --- a/src/particles-bg/particles/CobwebParticles.vue +++ b/src/particles-bg/particles/CobwebParticles.vue @@ -112,7 +112,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/ColorParticles.vue b/src/particles-bg/particles/ColorParticles.vue index 8abd222..6279ee7 100755 --- a/src/particles-bg/particles/ColorParticles.vue +++ b/src/particles-bg/particles/ColorParticles.vue @@ -80,7 +80,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/CustomParticles.vue b/src/particles-bg/particles/CustomParticles.vue index 1b712a7..55f22ff 100755 --- a/src/particles-bg/particles/CustomParticles.vue +++ b/src/particles-bg/particles/CustomParticles.vue @@ -209,7 +209,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/FountainParticles.vue b/src/particles-bg/particles/FountainParticles.vue index 34f4edb..099b844 100755 --- a/src/particles-bg/particles/FountainParticles.vue +++ b/src/particles-bg/particles/FountainParticles.vue @@ -104,7 +104,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/LinesParticles.vue b/src/particles-bg/particles/LinesParticles.vue index 78e7f02..8289432 100755 --- a/src/particles-bg/particles/LinesParticles.vue +++ b/src/particles-bg/particles/LinesParticles.vue @@ -105,7 +105,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/PolygonParticles.vue b/src/particles-bg/particles/PolygonParticles.vue index 91d2bbf..42e6250 100755 --- a/src/particles-bg/particles/PolygonParticles.vue +++ b/src/particles-bg/particles/PolygonParticles.vue @@ -222,7 +222,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/SquareParticles.vue b/src/particles-bg/particles/SquareParticles.vue index 151512f..d8d0cf7 100755 --- a/src/particles-bg/particles/SquareParticles.vue +++ b/src/particles-bg/particles/SquareParticles.vue @@ -131,7 +131,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/TadpoleParticles.vue b/src/particles-bg/particles/TadpoleParticles.vue index a2c665b..edf441e 100755 --- a/src/particles-bg/particles/TadpoleParticles.vue +++ b/src/particles-bg/particles/TadpoleParticles.vue @@ -171,7 +171,7 @@ export default { this.proton && this.proton.update(); } }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton); diff --git a/src/particles-bg/particles/ThickParticles.vue b/src/particles-bg/particles/ThickParticles.vue index 5396d18..12d2e09 100755 --- a/src/particles-bg/particles/ThickParticles.vue +++ b/src/particles-bg/particles/ThickParticles.vue @@ -155,7 +155,7 @@ export default { this.colorTemplate = `hsla(hue,80%,50%, 0.75)`; this.renderProton = this.renderProton.bind(this); }, - beforeDestory() { + beforeDestroy() { try { this.proton.destroy(); RAFManager.remove(this.renderProton);