From 1fc4dcde62f4c8fde12b0f9bccd4b9b99047b79f Mon Sep 17 00:00:00 2001 From: lu713691 Date: Sun, 31 Jul 2022 00:17:24 +0100 Subject: [PATCH] Sliding Clock: BUGIFX: build failure due to semi colons --- apps/slidingtext/slidingtext.dtfmt.js | 10 ++++------ apps/slidingtext/slidingtext.js | 5 ++--- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/apps/slidingtext/slidingtext.dtfmt.js b/apps/slidingtext/slidingtext.dtfmt.js index 091cbe287..b8d7f1a70 100644 --- a/apps/slidingtext/slidingtext.dtfmt.js +++ b/apps/slidingtext/slidingtext.dtfmt.js @@ -6,12 +6,10 @@ class DateFormatter { * and the date formatDate methid will return the time formated * to the lines of text on the screen */ - name(){return "no name";} - shortName(){return "no short name"} - formatDate(date){ - return ["no","date","defined"]; - } - rowProperties(row_no){ return {} }; + name(){ return "no name";} + shortName(){ return "no short name" } + formatDate(date){ return ["no","date","defined"]; } + rowProperties(row_no){ return {}; } formatProperties(){ return {}; } } diff --git a/apps/slidingtext/slidingtext.js b/apps/slidingtext/slidingtext.js index d3459e69e..d71c294a8 100644 --- a/apps/slidingtext/slidingtext.js +++ b/apps/slidingtext/slidingtext.js @@ -201,7 +201,7 @@ class ShiftText { to_y = this.init_y; this.setTextPosition(txt, this.init_x, g.getHeight() + 2*this.font_size); - console.log("scrollInFromBottom y:" + this.y + "->" + to_y + " -> " + txt) + //console.log("scrollInFromBottom y:" + this.y + "->" + to_y + " -> " + txt) this.moveTo(this.init_x,to_y); } scrollInFromLeft(txt,to_x){ @@ -392,8 +392,7 @@ function init_style() { } } } - -}; +} // a list of display rows var row_displays;