use factory

This commit is contained in:
Karsten Hassel
2021-07-05 19:45:58 +02:00
parent 179989aa42
commit bbb3accf0c
38 changed files with 152 additions and 152 deletions

View File

@@ -3,7 +3,9 @@
* By Sergey Morozov
* MIT Licensed.
*/
let config = {
const configFactory = require('../../default.js')
const config = configFacory({
timeFormat: 12,
modules: [
@@ -12,9 +14,7 @@ let config = {
position: "middle_center"
}
]
};
config = Object.assign(require("../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -3,16 +3,16 @@
* By Sergey Morozov
* MIT Licensed.
*/
let config = {
const configFactory = require('../../default.js')
const config = configFacory({
modules: [
{
module: "clock",
position: "middle_center"
}
]
};
config = Object.assign(require("../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -2,7 +2,9 @@
*
* MIT Licensed.
*/
let config = {
const configFactory = require('../../default.js')
const config = configFacory({
modules: [
{
module: "clock",
@@ -13,9 +15,7 @@ let config = {
}
}
]
};
config = Object.assign(require("../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -3,7 +3,9 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
let config = {
const configFactory = require('../../default.js')
const config = configFacory({
timeFormat: 12,
modules: [
@@ -15,9 +17,7 @@ let config = {
}
}
]
};
config = Object.assign(require("../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -3,7 +3,9 @@
* By Sergey Morozov
* MIT Licensed.
*/
let config = {
const configFactory = require('../../default.js')
const config = configFacory({
timeFormat: 12,
modules: [
@@ -15,9 +17,7 @@ let config = {
}
}
]
};
config = Object.assign(require("../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -3,7 +3,9 @@
* By Johan Hammar
* MIT Licensed.
*/
let config = {
const configFactory = require('../../default.js')
const config = configFacory({
timeFormat: 12,
modules: [
@@ -15,9 +17,7 @@ let config = {
}
}
]
};
config = Object.assign(require("../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -3,7 +3,9 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
let config = {
const configFactory = require('../../../default.js')
const config = configFacory({
language: "es",
timeFormat: 12,
@@ -13,9 +15,7 @@ let config = {
position: "middle_center"
}
]
};
config = Object.assign(require("../../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -3,7 +3,9 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
let config = {
const configFactory = require('../../../default.js')
const config = configFacory({
language: "es",
modules: [
@@ -12,9 +14,7 @@ let config = {
position: "middle_center"
}
]
};
config = Object.assign(require("../../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -3,7 +3,9 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
let config = {
const configFactory = require('../../../default.js')
const config = configFacory({
language: "es",
timeFormat: 12,
@@ -16,9 +18,7 @@ let config = {
}
}
]
};
config = Object.assign(require("../../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {

View File

@@ -4,7 +4,9 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
let config = {
const configFactory = require('../../../default.js')
const config = configFacory({
language: "es",
timeFormat: 12,
@@ -17,9 +19,7 @@ let config = {
}
}
]
};
config = Object.assign(require("../../../default.js"), config);
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {