From: Evert Timberg Date: Mon, 12 Oct 2015 13:19:14 +0000 (-0400) Subject: Put comment back in correct spot X-Git-Tag: 2.0.0-beta~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1526%2Fhead;p=thirdparty%2FChart.js.git Put comment back in correct spot --- diff --git a/src/core/core.js b/src/core/core.js index 039f34419..fb84f0e73 100755 --- a/src/core/core.js +++ b/src/core/core.js @@ -57,11 +57,11 @@ // High pixel density displays - multiply the size of the canvas height/width by the device pixel ratio, then scale. Chart.helpers.retinaScale(this); - // Always bind this so that if the responsive state changes we still work if (config) { this.controller = new Chart.Controller(this); } + // Always bind this so that if the responsive state changes we still work var _this = this; Chart.helpers.addResizeListener(context.canvas.parentNode, function() { if (_this.controller && _this.controller.config.options.responsive) {