Merge pull request #585 from roramirez/extra-spaces

fix tabs, remove extra spaces and lines.
This commit is contained in:
Michael Teeuw 2016-12-31 19:12:24 +01:00 committed by GitHub
commit 23bcac2e55
21 changed files with 82 additions and 83 deletions

View File

@ -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,

View File

@ -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>";

View File

@ -30,4 +30,3 @@ fetcher.onError(function(fetcher, error) {
fetcher.startFetch(); fetcher.startFetch();
console.log("Create fetcher done! "); console.log("Create fetcher done! ");

View File

@ -355,4 +355,3 @@ Module.register("weatherforecast",{
return parseFloat(temperature).toFixed(decimals); return parseFloat(temperature).toFixed(decimals);
} }
}); });