Tap on ClockInfo to go to weather app
parent
f81390a5ea
commit
a198048e44
|
|
@ -50,6 +50,7 @@
|
||||||
weatherLib.on("update", this.updater);
|
weatherLib.on("update", this.updater);
|
||||||
},
|
},
|
||||||
hide: function () { weatherLib.removeListener("update", this.updater); }
|
hide: function () { weatherLib.removeListener("update", this.updater); }
|
||||||
|
,run : function() {load("weather.app.js");}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "condition",
|
name: "condition",
|
||||||
|
|
@ -61,6 +62,7 @@
|
||||||
weatherLib.on("update", this.updater);
|
weatherLib.on("update", this.updater);
|
||||||
},
|
},
|
||||||
hide: function () { weatherLib.removeListener("update", this.updater); }
|
hide: function () { weatherLib.removeListener("update", this.updater); }
|
||||||
|
,run : function() {load("weather.app.js");}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "temperature",
|
name: "temperature",
|
||||||
|
|
@ -72,6 +74,7 @@
|
||||||
weatherLib.on("update", this.updater);
|
weatherLib.on("update", this.updater);
|
||||||
},
|
},
|
||||||
hide: function () { weatherLib.removeListener("update", this.updater); }
|
hide: function () { weatherLib.removeListener("update", this.updater); }
|
||||||
|
,run : function() {load("weather.app.js");}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "humidity",
|
name: "humidity",
|
||||||
|
|
@ -83,6 +86,7 @@
|
||||||
weatherLib.on("update", this.updater);
|
weatherLib.on("update", this.updater);
|
||||||
},
|
},
|
||||||
hide: function () { weatherLib.removeListener("update", this.updater); }
|
hide: function () { weatherLib.removeListener("update", this.updater); }
|
||||||
|
,run : function() {load("weather.app.js");}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "wind",
|
name: "wind",
|
||||||
|
|
@ -94,6 +98,7 @@
|
||||||
weatherLib.on("update", this.updater);
|
weatherLib.on("update", this.updater);
|
||||||
},
|
},
|
||||||
hide: function () { weatherLib.removeListener("update", this.updater); }
|
hide: function () { weatherLib.removeListener("update", this.updater); }
|
||||||
|
,run : function() {load("weather.app.js");}
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue