From 995e20c084e2f06c580261cfad362ca24801107e Mon Sep 17 00:00:00 2001 From: Devonte Date: Thu, 29 Jul 2021 06:56:25 +0100 Subject: [PATCH] Update to ChartJS 3.5 --- README.md | 2 +- index.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c18c79d..a2ecb4e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/index.js b/index.js index 9ad519f..83bec85 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ module.exports = { 'chart.js': { vendor: { srcDir: 'dist', - include: ['Chart.js'], + include: ['chart.js'], processTree(input) { return FastbootTransform(input); } @@ -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) { diff --git a/package.json b/package.json index 500bff5..6e2f869 100644 --- a/package.json +++ b/package.json @@ -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",