From: Ryan Mitchell Date: Thu, 22 Oct 2015 16:47:45 +0000 (-0400) Subject: Fix similar typos in core.controller & element X-Git-Tag: 2.0.0-beta~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1559%2Fhead;p=thirdparty%2FChart.js.git Fix similar typos in core.controller & element --- diff --git a/src/core/core.controller.js b/src/core/core.controller.js index 8cb9bcd2d..f26269f23 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -4,7 +4,7 @@ //Declare root variable - window in the browser, global on the server var root = this, - previous = root.Chart, + Chart = root.Chart, helpers = Chart.helpers; diff --git a/src/core/core.element.js b/src/core/core.element.js index bd7b8ad6b..594269619 100644 --- a/src/core/core.element.js +++ b/src/core/core.element.js @@ -4,7 +4,7 @@ //Declare root variable - window in the browser, global on the server var root = this, - previous = root.Chart, + Chart = root.Chart, helpers = Chart.helpers; Chart.elements = {};