Skip to content

Commit d251f42

Browse files
author
Guillaume Chau
committed
chore: v0.4.1
1 parent 21fd454 commit d251f42

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dist/vue-observe-visibility.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ var VisibilityState = function () {
281281
}, {
282282
key: 'threshold',
283283
get: function get$$1() {
284-
return this.options.intersection && this.options.intersection.threshold;
284+
return this.options.intersection && this.options.intersection.threshold || 0;
285285
}
286286
}]);
287287
return VisibilityState;
@@ -329,7 +329,7 @@ function install(Vue) {
329329
// Plugin
330330
var plugin = {
331331
// eslint-disable-next-line no-undef
332-
version: "0.4.0",
332+
version: "0.4.1",
333333
install: install
334334
};
335335

dist/vue-observe-visibility.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.

dist/vue-observe-visibility.umd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ var VisibilityState = function () {
287287
}, {
288288
key: 'threshold',
289289
get: function get$$1() {
290-
return this.options.intersection && this.options.intersection.threshold;
290+
return this.options.intersection && this.options.intersection.threshold || 0;
291291
}
292292
}]);
293293
return VisibilityState;
@@ -335,7 +335,7 @@ function install(Vue) {
335335
// Plugin
336336
var plugin = {
337337
// eslint-disable-next-line no-undef
338-
version: "0.4.0",
338+
version: "0.4.1",
339339
install: install
340340
};
341341

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-observe-visibility",
33
"description": "Detect when an element is becoming visible or hidden on the page. ",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"author": {
66
"name": "Guillaume Chau",
77
"email": "[email protected]"

0 commit comments

Comments
 (0)