factory again

This commit is contained in:
Karsten Hassel
2021-07-05 19:57:04 +02:00
parent 209e049893
commit 9aa0af4f9c
46 changed files with 77 additions and 142 deletions

View File

@@ -3,9 +3,7 @@
* By rejas
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
modules: [
{
module: "alert",

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rejas
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -5,9 +5,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rejas
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Sergey Morozov
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Sergey Morozov
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
modules: [
{
module: "clock",

View File

@@ -2,9 +2,7 @@
*
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
modules: [
{
module: "clock",

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Sergey Morozov
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Johan Hammar
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../../default.js");
const config = configFacory({
const config = require("../../../default.js").configFactory({
language: "es",
timeFormat: 12,

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../../default.js");
const config = configFacory({
const config = require("../../../default.js").configFactory({
language: "es",
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../../default.js");
const config = configFacory({
const config = require("../../../default.js").configFactory({
language: "es",
timeFormat: 12,

View File

@@ -4,9 +4,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../../default.js");
const config = configFacory({
const config = require("../../../default.js").configFactory({
language: "es",
timeFormat: 12,

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rejas
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rejas
* MIT Licensed.
*/
const configFactory = require("../default.js");
let config = configFacory({
let config = require("../default.js").configFactory({
modules: [
{
module: "helloworld",

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
modules: [
{
module: "helloworld",

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
modules: [
{
module: "helloworld",

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -2,9 +2,7 @@
*
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -2,9 +2,7 @@
*
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("../default.js");
const config = configFacory({
const config = require("../default.js").configFactory({
modules:
// Using exotic content. This is why don't accept go to JSON configuration file
(function () {

View File

@@ -3,9 +3,7 @@
* By rejas https://github.com/rejas
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
modules: [
{
module: "compliments",

View File

@@ -3,9 +3,7 @@
* By fewieden https://github.com/fewieden
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By fewieden https://github.com/fewieden
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
modules: [
{
module: "weather",

View File

@@ -3,9 +3,7 @@
* By fewieden https://github.com/fewieden
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
units: "imperial",
modules: [

View File

@@ -3,9 +3,7 @@
* By fewieden https://github.com/fewieden
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By fewieden https://github.com/fewieden
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
timeFormat: 12,
modules: [

View File

@@ -3,9 +3,7 @@
* By rejas
* MIT Licensed.
*/
const configFactory = require("../../default.js");
const config = configFacory({
const config = require("../../default.js").configFactory({
units: "imperial",
modules: [