Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to ChartJS 3.5 #138

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Build Status](https://travis-ci.org/aomran/ember-cli-chart.svg)](https://travis-ci.org/aomran/ember-cli-chart)
[![Ember Observer Score](https://emberobserver.com/badges/ember-cli-chart.svg)](https://emberobserver.com/addons/ember-cli-chart)

This Ember CLI addon is a simple wrapper for [ChartJS](http://www.chartjs.org/) (v2.9).
This Ember CLI addon is a simple wrapper for [ChartJS](http://www.chartjs.org/) (v3.5).

### Compatibility

Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
'chart.js': {
vendor: {
srcDir: 'dist',
include: ['Chart.js'],
include: ['chart.js'],
processTree(input) {
return FastbootTransform(input);
}
Expand All @@ -21,7 +21,7 @@ module.exports = {
this._super.included.apply(this, arguments);
this._ensureThisImport();

this.import('vendor/chart.js/Chart.js');
this.import('vendor/chart.js/chart.js');
},
_ensureThisImport() {
if (!this.import) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@ember/render-modifiers": "^1.0.2",
"chart.js": "^2.9.0",
"chart.js": "^3.5.0",
"ember-cli-babel": "^7.20.5",
"ember-cli-htmlbars": "^5.1.2",
"ember-cli-node-assets": "^0.2.2",
Expand Down