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 = {};