Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Commit

Permalink
Update version to v1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcraig committed May 17, 2015
1 parent 49f859d commit 0e8a636
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tc-angular-chartjs",
"version": "1.0.9",
"version": "1.0.10",
"description": "Add Chart.js charts to your angular application",
"homepage": "http://carlcraig.github.io/tc-angular-chartjs/",
"author": "Carl Craig <[email protected]>",
Expand Down
7 changes: 6 additions & 1 deletion dist/tc-angular-chartjs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* tc-angular-chartjs - v1.0.9 - 2015-05-17
* tc-angular-chartjs - v1.0.10 - 2015-05-17
* Copyright (c) 2015 Carl Craig <[email protected]>
* Dual licensed with the Apache-2.0 or MIT license.
*/
Expand Down Expand Up @@ -65,6 +65,11 @@
autoLegend = true;
}
}
$scope.$on("$destroy", function() {
if (chartObj) {
chartObj.destroy();
}
});
$scope.$watch("data", function(value) {
if (value) {
if (chartObj) {
Expand Down
4 changes: 2 additions & 2 deletions dist/tc-angular-chartjs.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tc-angular-chartjs",
"version": "1.0.9",
"version": "1.0.10",
"description": "Add Chart.js charts to your angular application",
"homepage": "http://carlcraig.github.io/tc-angular-chartjs/",
"author": "Carl Craig <[email protected]>",
Expand Down

0 comments on commit 0e8a636

Please sign in to comment.