From ef1c4fb0cbd7c35f0affaa27bf589b6f3302fd8c Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Thu, 22 Oct 2015 12:41:03 -0400 Subject: [PATCH 1/2] Fix typo in core.helpers.js --- src/core/core.helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core.helpers.js b/src/core/core.helpers.js index ca27c7c3c85..9b308152ded 100644 --- a/src/core/core.helpers.js +++ b/src/core/core.helpers.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; //Global Chart helpers object for utility methods and classes var helpers = Chart.helpers = {}; From 57979a22708364d16eb58373910de374d736ecb0 Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Thu, 22 Oct 2015 12:47:45 -0400 Subject: [PATCH 2/2] Fix similar typos in core.controller & element --- src/core/core.controller.js | 2 +- src/core/core.element.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/core.controller.js b/src/core/core.controller.js index 8cb9bcd2d48..f26269f23d6 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 bd7b8ad6be4..5942696199f 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 = {};