From a7314e6d02bda1a0831c31417ba956197d11351f Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul0007@users.noreply.github.com> Date: Sun, 3 Sep 2023 17:57:20 +0530 Subject: [PATCH] Update core.js --- src/core.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core.js b/src/core.js index 633a1cf5..dea6dce0 100644 --- a/src/core.js +++ b/src/core.js @@ -1,7 +1,7 @@ // Heatmap Constructor -var Heatmap = (function HeatmapClosure() { +let Heatmap = (function HeatmapClosure() { - var Coordinator = (function CoordinatorClosure() { + let Coordinator = (function CoordinatorClosure() { function Coordinator() { this.cStore = {}; @@ -9,7 +9,7 @@ var Heatmap = (function HeatmapClosure() { Coordinator.prototype = { on: function(evtName, callback, scope) { - var cStore = this.cStore; + let cStore = this.cStore; if (!cStore[evtName]) { cStore[evtName] = [];