vue-chartist
Advanced tools
Comparing version
11
index.js
@@ -13,3 +13,12 @@ 'use strict'; | ||
Vue.component('chartist', { | ||
template: '<div ref="chart" :class="[ratio, noData]" v-text="message"></div>', | ||
render: function render(h) { | ||
return h('div', { | ||
ref: 'chart', | ||
'class': { | ||
ratio: this.ratio, | ||
noData: this.noData | ||
}, | ||
'v-text': this.message | ||
}); | ||
}, | ||
mounted: function mounted() { | ||
@@ -16,0 +25,0 @@ this.draw(); |
{ | ||
"name": "vue-chartist", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "Plugin chartist for vuejs", | ||
@@ -35,13 +35,12 @@ "main": "index.js", | ||
"devDependencies": { | ||
"aliasify": "^2.0.0", | ||
"babel-cli": "^6.16.0", | ||
"babel-preset-es2015": "^6.16.0", | ||
"babel-cli": "^6.24.1", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babelify": "^7.3.0", | ||
"browserify": "^13.1.0", | ||
"http-server": "^0.9.0", | ||
"vue": "^2.0.1" | ||
"browserify": "^14.3.0", | ||
"http-server": "^0.10.0", | ||
"vue": "^2.3.3" | ||
}, | ||
"dependencies": { | ||
"chartist": "^0.9.8" | ||
"chartist": "^0.11.0" | ||
} | ||
} |
10627
1.69%6
-14.29%152
6.29%+ Added
- Removed
Updated