Skip to content

Commit 891d728

Browse files
author
Philipp
committed
Fixed Issue #20
1 parent 8b1c465 commit 891d728

File tree

7 files changed

+16041
-16
lines changed

7 files changed

+16041
-16
lines changed

demo/public/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4109,7 +4109,7 @@ var es_array_sort = __webpack_require__("4e82");
41094109
mounted: function mounted() {
41104110
window.addEventListener('resize', throttle(this.$_change_video_resolution, 250));
41114111
},
4112-
beforeDestroy: function beforeDestroy() {
4112+
beforeUnmount: function beforeUnmount() {
41134113
window.removeEventListener('resize', throttle(this.$_change_video_resolution, 250));
41144114
}
41154115
});

dist/index.umd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4118,7 +4118,7 @@ var es_array_sort = __webpack_require__("4e82");
41184118
mounted: function mounted() {
41194119
window.addEventListener('resize', throttle(this.$_change_video_resolution, 250));
41204120
},
4121-
beforeDestroy: function beforeDestroy() {
4121+
beforeUnmount: function beforeUnmount() {
41224122
window.removeEventListener('resize', throttle(this.$_change_video_resolution, 250));
41234123
}
41244124
});

dist/index.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 16035 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-responsive-video-background-player",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Play your own videos in background responsively",
55
"main": "dist/index.common.js",
66
"unpkg": "dist/index.umd.min.js",

src/core/resize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default {
4949
mounted() {
5050
window.addEventListener('resize', throttle(this.$_change_video_resolution, 250));
5151
},
52-
beforeDestroy() {
52+
beforeUnmount() {
5353
window.removeEventListener('resize', throttle(this.$_change_video_resolution, 250));
5454
},
5555
};

0 commit comments

Comments
 (0)