Run prettier over ALL files once

No other changes done in this commit
This commit is contained in:
Veeck
2020-05-11 22:22:32 +02:00
parent 3a5a29efc0
commit abb5dc5739
160 changed files with 2369 additions and 2210 deletions

View File

@@ -1,13 +1,13 @@
{
// Escaped
"FOO\"BAR": "Today",
// Escaped
"FOO\"BAR": "Today",
/*
* The following lines
* represent cardinal directions
*/
"N": "N",
"E": "E",
"S": "S",
"W": "W"
/*
* The following lines
* represent cardinal directions
*/
"N": "N",
"E": "E",
"S": "S",
"W": "W"
}

View File

@@ -1,33 +1,33 @@
{
"LOADING": "Loading …",
"LOADING": "Loading …",
"TODAY": "Today",
"TOMORROW": "Tomorrow",
"DAYAFTERTOMORROW": "In 2 days",
"RUNNING": "Ends in",
"EMPTY": "No upcoming events.",
"TODAY": "Today",
"TOMORROW": "Tomorrow",
"DAYAFTERTOMORROW": "In 2 days",
"RUNNING": "Ends in",
"EMPTY": "No upcoming events.",
"WEEK": "Week {weekNumber}",
"WEEK": "Week {weekNumber}",
"N": "N",
"NNE": "NNE",
"NE": "NE",
"ENE": "ENE",
"E": "E",
"ESE": "ESE",
"SE": "SE",
"SSE": "SSE",
"S": "S",
"SSW": "SSW",
"SW": "SW",
"WSW": "WSW",
"W": "W",
"WNW": "WNW",
"NW": "NW",
"NNW": "NNW",
"N": "N",
"NNE": "NNE",
"NE": "NE",
"ENE": "ENE",
"E": "E",
"ESE": "ESE",
"SE": "SE",
"SSE": "SSE",
"S": "S",
"SSW": "SSW",
"SW": "SW",
"WSW": "WSW",
"W": "W",
"WNW": "WNW",
"NW": "NW",
"NNW": "NNW",
"UPDATE_NOTIFICATION": "MagicMirror² update available.",
"UPDATE_NOTIFICATION_MODULE": "Update available for MODULE_NAME module.",
"UPDATE_INFO_SINGLE": "The current installation is COMMIT_COUNT commit behind on the BRANCH_NAME branch.",
"UPDATE_INFO_MULTIPLE": "The current installation is COMMIT_COUNT commits behind on the BRANCH_NAME branch."
"UPDATE_NOTIFICATION": "MagicMirror² update available.",
"UPDATE_NOTIFICATION_MODULE": "Update available for MODULE_NAME module.",
"UPDATE_INFO_SINGLE": "The current installation is COMMIT_COUNT commit behind on the BRANCH_NAME branch.",
"UPDATE_INFO_MULTIPLE": "The current installation is COMMIT_COUNT commits behind on the BRANCH_NAME branch."
}

View File

@@ -1,33 +1,33 @@
{
"LOADING": "Loading …",
"LOADING": "Loading …",
"TODAY": "Today",
"TOMORROW": "Tomorrow",
"DAYAFTERTOMORROW": "In 2 days",
"RUNNING": "Ends in",
"EMPTY": "No upcoming events.",
"TODAY": "Today",
"TOMORROW": "Tomorrow",
"DAYAFTERTOMORROW": "In 2 days",
"RUNNING": "Ends in",
"EMPTY": "No upcoming events.",
"WEEK": "Week {weekNumber}",
"WEEK": "Week {weekNumber}",
"N": "N",
"NNE": "NNE",
"NE": "NE",
"ENE": "ENE",
"E": "E",
"ESE": "ESE",
"SE": "SE",
"SSE": "SSE",
"S": "S",
"SSW": "SSW",
"SW": "SW",
"WSW": "WSW",
"W": "W",
"WNW": "WNW",
"NW": "NW",
"NNW": "NNW",
"N": "N",
"NNE": "NNE",
"NE": "NE",
"ENE": "ENE",
"E": "E",
"ESE": "ESE",
"SE": "SE",
"SSE": "SSE",
"S": "S",
"SSW": "SSW",
"SW": "SW",
"WSW": "WSW",
"W": "W",
"WNW": "WNW",
"NW": "NW",
"NNW": "NNW",
"UPDATE_NOTIFICATION": "MagicMirror² update available.",
"UPDATE_NOTIFICATION_MODULE": "Update available for MODULE_NAME module.",
"UPDATE_INFO_SINGLE": "The current installation is COMMIT_COUNT commit behind on the BRANCH_NAME branch.",
"UPDATE_INFO_MULTIPLE": "The current installation is COMMIT_COUNT commits behind on the BRANCH_NAME branch."
"UPDATE_NOTIFICATION": "MagicMirror² update available.",
"UPDATE_NOTIFICATION_MODULE": "Update available for MODULE_NAME module.",
"UPDATE_INFO_SINGLE": "The current installation is COMMIT_COUNT commit behind on the BRANCH_NAME branch.",
"UPDATE_INFO_MULTIPLE": "The current installation is COMMIT_COUNT commits behind on the BRANCH_NAME branch."
}

View File

@@ -13,13 +13,14 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
]
modules: []
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,13 +13,14 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
]
modules: []
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -38,4 +38,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -39,4 +39,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -34,4 +34,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -15,8 +15,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -41,4 +41,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -36,4 +36,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -26,4 +26,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -26,4 +26,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -29,4 +29,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -29,4 +29,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -29,4 +29,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -26,4 +26,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -26,4 +26,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -29,4 +29,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -16,8 +16,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -32,4 +32,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -27,7 +27,6 @@ var config = {
afternoon: [],
evening: [],
anytime: ["Anytime here"]
}
}
}
@@ -35,4 +34,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -14,8 +14,8 @@ let config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -28,9 +28,7 @@ let config = {
morning: [],
afternoon: [],
evening: [],
"....-01-01": [
"Happy new year!"
]
"....-01-01": ["Happy new year!"]
}
}
}
@@ -38,4 +36,6 @@ let config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -24,7 +24,6 @@ var config = {
config: {
compliments: {
anytime: ["Anytime here"]
}
}
}
@@ -32,4 +31,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -23,15 +23,9 @@ var config = {
position: "middle_center",
config: {
compliments: {
morning: [
"Hi", "Good Morning", "Morning test"
],
afternoon: [
"Hello", "Good Afternoon", "Afternoon test"
],
evening: [
"Hello There", "Good Evening", "Evening test"
]
morning: ["Hi", "Good Morning", "Morning test"],
afternoon: ["Hello", "Good Afternoon", "Afternoon test"],
evening: ["Hello There", "Good Evening", "Evening test"]
}
}
}
@@ -39,4 +33,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -29,4 +29,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,8 +13,8 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -26,4 +26,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,13 +13,12 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
{
module: "newsfeed",
position: "bottom_bar",
config: {
@@ -27,7 +26,7 @@ var config = {
{
title: "Rodrigo Ramirez Blog",
url: "http://localhost:8080/tests/configs/data/feed_test_rodrigoramirez.xml"
},
}
]
}
}
@@ -35,4 +34,6 @@ var config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -15,16 +15,14 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules:
// Using exotic content. This is why dont accept go to JSON configuration file
(function() {
var positions = ["top_bar", "top_left", "top_center", "top_right", "upper_third",
"middle_center", "lower_third", "bottom_left", "bottom_center", "bottom_right",
"bottom_bar", "fullscreen_above", "fullscreen_below"];
(function () {
var positions = ["top_bar", "top_left", "top_center", "top_right", "upper_third", "middle_center", "lower_third", "bottom_left", "bottom_center", "bottom_right", "bottom_bar", "fullscreen_above", "fullscreen_below"];
var modules = Array();
for (var idx in positions) {
modules.push({
@@ -36,7 +34,9 @@ var config = {
});
}
return modules;
})(),
})()
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -14,8 +14,8 @@ let config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -32,4 +32,6 @@ let config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -14,8 +14,8 @@ let config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -37,4 +37,6 @@ let config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -14,8 +14,8 @@ let config = {
units: "imperial",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -34,4 +34,6 @@ let config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -14,8 +14,8 @@ let config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -34,4 +34,6 @@ let config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -14,8 +14,8 @@ let config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
@@ -37,4 +37,6 @@ let config = {
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,13 +13,14 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
]
modules: []
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,13 +13,14 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
},
modules: [
]
modules: []
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}

View File

@@ -13,11 +13,12 @@ var config = {
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
},
nodeIntegration: true
}
}
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
if (typeof module !== "undefined") {
module.exports = config;
}