From 5d6fea90d4beb8c99094cdd84121574f64053f2c Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Wed, 7 Mar 2018 00:06:59 +0000 Subject: [PATCH] Added weather forcast card and service --- src/service-worker.js | 2 +- src/v1/js/Forecast.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service-worker.js b/src/service-worker.js index a3be36f..e0eab3a 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -const CACHE_VERSION = { 'version': '0.0.151' }; +const CACHE_VERSION = { 'version': '0.0.152' }; const dataCacheName = 'jubileeData-v1'; const cacheName = 'jubilee-final-1'; const filesToCache = [ diff --git a/src/v1/js/Forecast.js b/src/v1/js/Forecast.js index af942f5..56b82a3 100644 --- a/src/v1/js/Forecast.js +++ b/src/v1/js/Forecast.js @@ -92,7 +92,7 @@ const ForecastView = Backbone.View.extend({

Details

Humidity
-
<%=~~(humidity % 100) %>%
+
<%=~~(humidity * 100) %>%
Visibility