Skip to content

Commit

Permalink
Added copy of data
Browse files Browse the repository at this point in the history
Rebuilt
Minor change to grunfile
  • Loading branch information
pablojim committed Jan 25, 2014
1 parent a0b5685 commit 9686937
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ module.exports = function(grunt) {
grunt.registerTask('release', [
'test',
'bump-only',
'dist',
'build',
'bump-commit'
]);

Expand Down
2 changes: 1 addition & 1 deletion dist/highcharts-ng.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ angular.module('highcharts-ng', []).directive('highchart', function () {
chartSeries.setVisible(s.visible, false);
}
if (chartSeries.options.data !== s.data) {
chartSeries.setData(s.data, false);
chartSeries.setData(angular.copy(s.data), false);
}
}
} else {
Expand Down
4 changes: 2 additions & 2 deletions dist/highcharts-ng.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 src/highcharts-ng.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ angular.module('highcharts-ng', [])
chartSeries.setVisible(s.visible, false);
}
if (chartSeries.options.data !== s.data) {
chartSeries.setData(s.data, false);
chartSeries.setData(angular.copy(s.data), false);
}
}
} else {
Expand Down

0 comments on commit 9686937

Please sign in to comment.