mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 20:22:53 +00:00
Merge pull request #585 from roramirez/extra-spaces
fix tabs, remove extra spaces and lines.
This commit is contained in:
commit
23bcac2e55
@ -4,7 +4,9 @@
|
|||||||
"quotes": ["error", "double"],
|
"quotes": ["error", "double"],
|
||||||
"max-len": ["error", 250],
|
"max-len": ["error", 250],
|
||||||
"curly": "error",
|
"curly": "error",
|
||||||
"camelcase": ["error", {"properties": "never"}]
|
"camelcase": ["error", {"properties": "never"}],
|
||||||
|
"no-trailing-spaces": ["error"],
|
||||||
|
"no-irregular-whitespace": ["error"]
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
|
@ -35,7 +35,6 @@ Module.register("alert",{
|
|||||||
},
|
},
|
||||||
show_notification: function(message) {
|
show_notification: function(message) {
|
||||||
if (this.config.effect == "slide") {this.config.effect = this.config.effect + "-" + this.config.position;}
|
if (this.config.effect == "slide") {this.config.effect = this.config.effect + "-" + this.config.position;}
|
||||||
|
|
||||||
msg = "";
|
msg = "";
|
||||||
if (message.title) {
|
if (message.title) {
|
||||||
msg += "<span class='thin' style='line-height: 35px; font-size:24px' color='#4A4A4A'>" + message.title + "</span>";
|
msg += "<span class='thin' style='line-height: 35px; font-size:24px' color='#4A4A4A'>" + message.title + "</span>";
|
||||||
|
@ -30,4 +30,3 @@ fetcher.onError(function(fetcher, error) {
|
|||||||
fetcher.startFetch();
|
fetcher.startFetch();
|
||||||
|
|
||||||
console.log("Create fetcher done! ");
|
console.log("Create fetcher done! ");
|
||||||
|
|
||||||
|
@ -355,4 +355,3 @@ Module.register("weatherforecast",{
|
|||||||
return parseFloat(temperature).toFixed(decimals);
|
return parseFloat(temperature).toFixed(decimals);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user