barclock: whitespace
parent
86e3ee489b
commit
29eedee899
|
|
@ -27,7 +27,6 @@ function renderBar(l) {
|
||||||
prevX = x2;
|
prevX = x2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function timeText(date) {
|
function timeText(date) {
|
||||||
if (!clock.is12Hour) {
|
if (!clock.is12Hour) {
|
||||||
return locale.time(date, true);
|
return locale.time(date, true);
|
||||||
|
|
@ -55,7 +54,7 @@ function dateText(date) {
|
||||||
const ClockFace = require("ClockFace"),
|
const ClockFace = require("ClockFace"),
|
||||||
clock = new ClockFace({
|
clock = new ClockFace({
|
||||||
precision: 1,
|
precision: 1,
|
||||||
settingsFile:'barclock.settings.json',
|
settingsFile: "barclock.settings.json",
|
||||||
init: function() {
|
init: function() {
|
||||||
const Layout = require("Layout");
|
const Layout = require("Layout");
|
||||||
this.layout = new Layout({
|
this.layout = new Layout({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue