Skip to content

Commit 2182f44

Browse files
committed
Update amd.js example
1 parent 19bc0a7 commit 2182f44

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

examples/amd.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@
44
require.config({
55
paths: {
66
angular: '../node_modules/angular/angular.min',
7-
chart: '../node_modules/chart.js/dist/Chart',
7+
chart: '../node_modules/chart.js/dist/Chart.min',
88
'angular-chart': '../angular-chart'
99
},
1010
shim: {
1111
angular: {
1212
exports: 'angular'
13+
},
14+
'chart.js': {
15+
deps: ['angular', 'chart']
1316
}
1417
}
1518
});

0 commit comments

Comments
 (0)