Skip to content

Commit

Permalink
Hotfix to v0.5.0
Browse files Browse the repository at this point in the history
Adds back a variable reference that was removed by mistake.
  • Loading branch information
compwright committed Nov 30, 2016
1 parent 2036a5d commit 1627db1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion chartjs-plugin-annotation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* chartjs-plugin-annotation.js
* http://chartjs.org/
* Version: 0.5.0
* Version: 0.5.1
*
* Copyright 2016 Evert Timberg
* Released under the MIT license
Expand Down Expand Up @@ -469,6 +469,7 @@ module.exports = function(Chart) {
var model = this._model = chartHelpers.clone(this._model) || {};
var options = this.options;
var chartInstance = this.chartInstance;
var ctx = this.ctx;

var scale = chartInstance.scales[options.scaleID];
var pixel, endPixel;
Expand Down
Loading

0 comments on commit 1627db1

Please sign in to comment.