diff --git a/.vs/AAWeb/v15/.suo b/.vs/AAWeb/v15/.suo index c1b80f83b..3d281c8be 100644 Binary files a/.vs/AAWeb/v15/.suo and b/.vs/AAWeb/v15/.suo differ diff --git a/Canvas.js b/Canvas.js index a2301c7b7..843fd1740 100644 --- a/Canvas.js +++ b/Canvas.js @@ -63,7 +63,6 @@ function newCanvas() { let splashScreen; - return thisObject; function initialize() { @@ -121,7 +120,6 @@ function newCanvas() { } - function addCanvasEvents() { /* Mouse down and up events to control the drag of the canvas. */ @@ -179,7 +177,6 @@ function newCanvas() { } - function onMouseClick(event) { dragVector.downX = event.pageX; @@ -216,8 +213,6 @@ function newCanvas() { } - - function onMouseUp(event) { if (containerDragStarted || viewPortBeingDragged || ballDragStarted) { @@ -377,7 +372,6 @@ function newCanvas() { } - function onMouseWheel(event) { // cross-browser wheel delta @@ -420,8 +414,6 @@ function newCanvas() { return false; // This instructs the browser not to take the event and scroll the page. } - - } diff --git a/TimeMachine.js b/TimeMachine.js index 20c09809e..d589b0042 100644 --- a/TimeMachine.js +++ b/TimeMachine.js @@ -1,9 +1,16 @@ - +/* + +Markets are a function of time. When watching them, end users must be positioned at one particular point in time. The system currently allows users +to position themselves at any time they like. + +In the future, it will be usefull to explore markets and compare them at different times simultaneously. Anticipating that future this module exists. +All the charts that depand on a datetime are children of this object Time Machine. In the future we will allow users to have more than one Time Machine, +each one with it own charts, and each one positioned at an especific point in titme. + +*/ function newTimeMachine() { - - var timeMachine = { container: undefined, controlPanel: undefined, @@ -114,7 +121,6 @@ function newTimeMachine() { } - function draw() { this.container.frame.draw(false, false); diff --git a/TimelineChart.js b/TimelineChart.js index 0fe2e4d51..d4784f133 100644 --- a/TimelineChart.js +++ b/TimelineChart.js @@ -1,5 +1,4 @@ - -function newTimelineChart() { +function newTimelineChart() { const CONSOLE_LOG = false; diff --git a/server.js b/server.js index c079bdec4..ce715bc68 100644 --- a/server.js +++ b/server.js @@ -6,7 +6,7 @@ if (CONSOLE_LOG === true) { } -const DEBUG_MODE = false; // This forces the server to read Plotters from the local drive. +const DEBUG_MODE = true; // This forces the server to read Plotters from the local drive. if (CONSOLE_LOG === true && DEBUG_MODE === true) {