mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
use factory
This commit is contained in:
@@ -3,7 +3,9 @@
|
|||||||
* By rejas
|
* By rejas
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "alert",
|
module: "alert",
|
||||||
@@ -13,9 +15,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -24,9 +26,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -25,9 +27,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -24,9 +26,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rejas
|
* By Rejas
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -24,9 +26,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -20,9 +22,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -5,7 +5,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -27,9 +29,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -22,9 +24,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rejas
|
* By Rejas
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -21,9 +23,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Sergey Morozov
|
* By Sergey Morozov
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -12,9 +14,7 @@ let config = {
|
|||||||
position: "middle_center"
|
position: "middle_center"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,16 +3,16 @@
|
|||||||
* By Sergey Morozov
|
* By Sergey Morozov
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "clock",
|
module: "clock",
|
||||||
position: "middle_center"
|
position: "middle_center"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -2,7 +2,9 @@
|
|||||||
*
|
*
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "clock",
|
module: "clock",
|
||||||
@@ -13,9 +15,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -15,9 +17,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Sergey Morozov
|
* By Sergey Morozov
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -15,9 +17,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Johan Hammar
|
* By Johan Hammar
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -15,9 +17,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
@@ -13,9 +15,7 @@ let config = {
|
|||||||
position: "middle_center"
|
position: "middle_center"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
language: "es",
|
language: "es",
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -12,9 +14,7 @@ let config = {
|
|||||||
position: "middle_center"
|
position: "middle_center"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
@@ -16,9 +18,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -4,7 +4,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
@@ -17,9 +19,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -20,9 +22,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rejas
|
* By Rejas
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -21,9 +23,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -17,9 +19,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -19,9 +21,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rejas
|
* By Rejas
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../default.js')
|
||||||
|
|
||||||
|
let config = configFacory({
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "helloworld",
|
module: "helloworld",
|
||||||
@@ -21,9 +23,8 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../default.js"), config);
|
|
||||||
config.electronOptions.fullscreen = false;
|
config.electronOptions.fullscreen = false;
|
||||||
config.electronOptions.width = 800;
|
config.electronOptions.width = 800;
|
||||||
config.electronOptions.height = 600;
|
config.electronOptions.height = 600;
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "helloworld",
|
module: "helloworld",
|
||||||
@@ -13,9 +15,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,16 +3,16 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "helloworld",
|
module: "helloworld",
|
||||||
position: "bottom_bar"
|
position: "bottom_bar"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -20,9 +22,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -2,7 +2,9 @@
|
|||||||
*
|
*
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -19,9 +21,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -2,7 +2,9 @@
|
|||||||
*
|
*
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -21,9 +23,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
modules:
|
modules:
|
||||||
// Using exotic content. This is why don't accept go to JSON configuration file
|
// Using exotic content. This is why don't accept go to JSON configuration file
|
||||||
(function () {
|
(function () {
|
||||||
@@ -20,9 +22,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
return modules;
|
return modules;
|
||||||
})()
|
})()
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By rejas https://github.com/rejas
|
* By rejas https://github.com/rejas
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "compliments",
|
module: "compliments",
|
||||||
@@ -25,9 +27,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By fewieden https://github.com/fewieden
|
* By fewieden https://github.com/fewieden
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -17,9 +19,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By fewieden https://github.com/fewieden
|
* By fewieden https://github.com/fewieden
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "weather",
|
module: "weather",
|
||||||
@@ -21,9 +23,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By fewieden https://github.com/fewieden
|
* By fewieden https://github.com/fewieden
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
units: "imperial",
|
units: "imperial",
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -19,9 +21,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By fewieden https://github.com/fewieden
|
* By fewieden https://github.com/fewieden
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -19,9 +21,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By fewieden https://github.com/fewieden
|
* By fewieden https://github.com/fewieden
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -22,9 +24,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,7 +3,9 @@
|
|||||||
* By rejas
|
* By rejas
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('../../default.js')
|
||||||
|
|
||||||
|
const config = configFacory({
|
||||||
units: "imperial",
|
units: "imperial",
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -20,9 +22,7 @@ let config = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
});
|
||||||
|
|
||||||
config = Object.assign(require("../../default.js"), config);
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@@ -3,12 +3,11 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
const configFactory = require('./default.js')
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"]
|
|
||||||
};
|
|
||||||
|
|
||||||
config = Object.assign(require("./default.js"), config);
|
const config = configFacory({
|
||||||
delete config.modules;
|
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"]
|
||||||
|
});
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
Reference in New Issue
Block a user