From 3dd69a7aca2148a129fda42e18401b61bf2f97d2 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 18 Jan 2020 09:21:21 +0100 Subject: [PATCH] name refactoring --- ChartsSpace/ViewPort.js | 4 ++-- Spaces/ChartSpace.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChartsSpace/ViewPort.js b/ChartsSpace/ViewPort.js index c9a070ff4..edc9a7ec9 100644 --- a/ChartsSpace/ViewPort.js +++ b/ChartsSpace/ViewPort.js @@ -1,5 +1,5 @@ -function newViewPort () { +function newViewport () { const MODULE_NAME = 'Viewport' const INFO_LOG = false const INTENSIVE_LOG = false @@ -439,7 +439,7 @@ function newViewPort () { let frame = {} frame.position = position - // saveFrame(thisObject.payload, frame) + saveFrame(thisObject.payload, frame) } function readObjectState () { diff --git a/Spaces/ChartSpace.js b/Spaces/ChartSpace.js index 99a26b614..49b8cf3c0 100644 --- a/Spaces/ChartSpace.js +++ b/Spaces/ChartSpace.js @@ -81,7 +81,7 @@ function newChartSpace () { } function initialize () { - thisObject.viewport = newViewPort() + thisObject.viewport = newViewport() thisObject.viewport.initialize() canvasBrowserResizedEventSubscriptionId = canvas.eventHandler.listenToEvent('Browser Resized', resize) }