Skip to content
This repository was archived by the owner on Dec 28, 2018. It is now read-only.

Commit 0bc7334

Browse files
author
Eduardo Stuart
committed
fix plugin options
Signed-off-by: Eduardo Stuart <[email protected]>
1 parent 1b52bf9 commit 0bc7334

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

dist/vue-image-loader.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-image-loader v1.0.2
2+
* vue-image-loader v1.0.4
33
* https://github.com/eduardostuart/vue-image-loader
44
* MIT License
55
*/
@@ -77,6 +77,8 @@ return /******/ (function(modules) { // webpackBootstrap
7777

7878
_VueImageLoader2.default.mixins = _VueImageLoader2.default.mixins || [];
7979

80+
options = options || {};
81+
8082
_VueImageLoader2.default.mixins.push({
8183
props: {
8284
timeout: {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-image-loader",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "A better way to load images with Vue.js",
55
"main": "dist/vue-image-loader.js",
66
"scripts": {

src/main.js

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ export function install(Vue, options) {
44

55
VueImageLoader.mixins = VueImageLoader.mixins || [];
66

7+
options = options || {};
8+
79
VueImageLoader.mixins.push({
810
props:{
911
timeout:{

0 commit comments

Comments
 (0)