Skip to content

Commit a4c4e92

Browse files
committed
Revert bower resolver change as native bower support is back in chart.js
Fix #502, see chartjs/Chart.js#3081
1 parent 16bb8d7 commit a4c4e92

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,6 @@ but must be set via standard options e.g. `ChartJsProvider.setOptions({ responsi
3838

3939
### bower
4040

41-
Bower support has been dropped in Chart.js since version 2.2.0 but you can still use it with Bower thanks to bower-npm-resolver if needed but using npm is preferred.
42-
43-
First, add the resolver in your .bowerrc file:
44-
45-
{
46-
"resolvers": [
47-
"bower-npm-resolver"
48-
]
49-
}
50-
51-
Then:
52-
53-
npm install -g bower-npm-resolver
5441
bower install --save angular-chart.js
5542

5643
### manually

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
],
4040
"dependencies": {
4141
"angular": "1.x",
42-
"chart.js": "npm:chart.js#2.x"
42+
"chart.js": "2.x"
4343
}
4444
}

0 commit comments

Comments
 (0)