Skip to content

Commit 9bb1ad7

Browse files
committed
Self-install
1 parent 2158bc8 commit 9bb1ad7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-pure-lightbox",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Very lightweight, JavaScript-only, lightbox plugin for Vue.js",
55
"main": "dist-module/main.js",
66
"scripts": {

src/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ const Lightbox = {
1010
},
1111
}
1212

13-
// if (typeof window !== 'undefined' && window.Vue) {
14-
// window.Vue.use(Lightbox);
15-
// }
13+
if (typeof window !== 'undefined' && window.Vue) {
14+
window.Vue.use(Lightbox);
15+
}
1616

1717
window.Lightbox = Lightbox
1818

0 commit comments

Comments
 (0)