formating fix so that grunt passes

This commit is contained in:
LAPTOP-KAUR\race2 2017-02-08 19:29:52 +02:00
parent cbafaf5d56
commit 90f60f95f7

View File

@ -6,7 +6,6 @@
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
Module.register("compliments", {
// Module config defaults.
@ -107,7 +106,9 @@ Module.register("compliments",{
compliments = this.config.compliments.evening;
}
if (typeof compliments === 'undefined' ) compliments = new Array();
if (typeof compliments === "undefined") {
compliments = new Array();
}
if (this.currentWeatherType in this.config.compliments) {
compliments.push.apply(compliments, this.config.compliments[this.currentWeatherType]);