Units configurable from Config.js

This commit is contained in:
roxasvalor 2016-04-24 15:24:44 -05:00
parent 0890fd521e
commit a91a2c2609

View File

@ -13,7 +13,7 @@ Module.register("weatherforecast",{
defaults: { defaults: {
location: "", location: "",
appid: "", appid: "",
units: "metric", units: config.units,
updateInterval: 10 * 60 * 1000, // every 10 minutes updateInterval: 10 * 60 * 1000, // every 10 minutes
animationSpeed: 1000, animationSpeed: 1000,
timeFormat: config.timeFormat, timeFormat: config.timeFormat,