ember-cli-morris-charts
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -10,3 +10,3 @@ import Ember from 'ember'; | ||
{ | ||
return false; | ||
return false; | ||
} | ||
@@ -31,3 +31,3 @@ | ||
renderArea: function() { | ||
var options = { | ||
var options = { | ||
element: this.$().attr('id'), | ||
@@ -41,6 +41,6 @@ data: this.get('data'), | ||
Morris.Area(options); | ||
window.Morris.Area(options); | ||
}, | ||
renderLine: function() { | ||
var options = { | ||
var options = { | ||
element: this.$().attr('id'), | ||
@@ -54,6 +54,6 @@ data: this.get('data'), | ||
Morris.Line(options); | ||
window.Morris.Line(options); | ||
}, | ||
renderBar: function() { | ||
var options = { | ||
var options = { | ||
element: this.$().attr('id'), | ||
@@ -67,6 +67,6 @@ data: this.get('data'), | ||
Morris.Bar(options); | ||
window.Morris.Bar(options); | ||
}, | ||
renderDonut: function() { | ||
var options = { | ||
var options = { | ||
element: this.$().attr('id'), | ||
@@ -77,4 +77,4 @@ data: this.get('data'), | ||
Morris.Donut(options); | ||
window.Morris.Donut(options); | ||
}, | ||
}); |
11
index.js
'use strict'; | ||
module.exports = { | ||
name: 'ember-cli-morris-charts' | ||
}; | ||
name: 'ember-cli-morris-charts', | ||
included: function(app) { | ||
this._super.included(app); | ||
app.import('vendor/morris.css'); | ||
app.import('vendor/morris.min.js'); | ||
app.import('vendor/raphael.js'); | ||
} | ||
}; |
{ | ||
"name": "ember-cli-morris-charts", | ||
"description": "Ember CLI addon wrapper for Morris Charts jQuery plugin", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"directories": { | ||
@@ -6,0 +6,0 @@ "doc": "doc", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148689
436