Skip to content

Commit 36479db

Browse files
author
陈华狄
committed
dist
1 parent d694731 commit 36479db

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/main.js.map

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.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue-imagefill",
33
"version": "0.1.3",
44
"description": "The Vue directive for making images fill their containers",
5-
"main": "./src/index.js",
5+
"main": "./dist/main.js",
66
"scripts": {
77
"lint": "eslint --ext .js lib --ignore-pattern dist",
88
"dist": "npm run lint&&webpack",

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import Imagefill from './lib'
22
require('./lib/style/vue-imagefill.css')
33

44
export default {
5-
install: function install(Vue) {
5+
install: function install (Vue) {
66
for (var key in Imagefill) {
77
if (Imagefill.hasOwnProperty(key)) {
8-
Vue.directive(key, Imagefill[key])
8+
Vue.directive(key, Imagefill[key])
99
}
1010
}
1111
}

0 commit comments

Comments
 (0)