]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Put comment back in correct spot 1526/head
authorEvert Timberg <evert.timberg@gmail.com>
Mon, 12 Oct 2015 13:19:14 +0000 (09:19 -0400)
committerEvert Timberg <evert.timberg@gmail.com>
Mon, 12 Oct 2015 13:19:14 +0000 (09:19 -0400)
src/core/core.js

index 039f344199dfd76bc46763a8385bf652e1f3f499..fb84f0e7304c40be2238acd38b3a9e87db81671a 100755 (executable)
                // 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) {