Merge pull request #237 from roxasvalor/v2-beta

Added option for units inside of config.js
This commit is contained in:
Michael Teeuw
2016-04-24 22:56:19 +02:00
5 changed files with 6 additions and 3 deletions

View File

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

View File

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