diff --git a/src/service-worker.js b/src/service-worker.js index ee7c7b8..e154e0b 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.695' }; +const CACHE_VERSION = { 'version': '0.0.704' }; const dataCacheName = 'jubileeData-v1'; const cacheName = 'jubilee-final-1'; const filesToCache = [ diff --git a/src/v1/js/Location.js b/src/v1/js/Location.js index a42cf3c..993278b 100644 --- a/src/v1/js/Location.js +++ b/src/v1/js/Location.js @@ -111,7 +111,7 @@ const LocationModel = Backbone.Model.extend({ this.set( newLocation); // this.set('moving', moving); // this.set('lastGeocode', { 'lat':latitude, 'lng':longitude, 'timestamp':timestamp }); - console.log('### location', this); + // console.log('### location', this); }.bind(this)) .catch(function(err) { console.error(err); diff --git a/src/v1/js/News.js b/src/v1/js/News.js index 09b2e35..b1ffa80 100644 --- a/src/v1/js/News.js +++ b/src/v1/js/News.js @@ -151,7 +151,7 @@ const NewsView = Backbone.View.extend({ 'click .scrollCard': 'doClick' }, 'doClick': function(d) { - console.log('Do click', d); + // console.log('Do click', d); const id = get(d, 'currentTarget.dataset.guid', ''); console.log(id); this.eventBus.trigger('showNews', id); @@ -166,7 +166,7 @@ const NewsView = Backbone.View.extend({ this.model.set('update', now); }, 'doMoreNews': function() { - console.log('doMoreNews', this); + // console.log('doMoreNews', this); this.eventBus.trigger('showNewsList'); } diff --git a/src/v1/js/NewsList.js b/src/v1/js/NewsList.js index 21d4b17..bc575d0 100644 --- a/src/v1/js/NewsList.js +++ b/src/v1/js/NewsList.js @@ -121,7 +121,7 @@ const NewsListView = Backbone.View.extend({ 'click': 'doClick' }, 'doClick': function(d) { - console.log('Do click', d); + // console.log('Do click', d); const id = get(d, 'currentTarget.dataset.guid', ''); console.log(id); this.eventBus.trigger('showNews', id); diff --git a/src/v1/js/Weather.js b/src/v1/js/Weather.js index 68d43a6..daa92b4 100644 --- a/src/v1/js/Weather.js +++ b/src/v1/js/Weather.js @@ -82,7 +82,7 @@ const WeatherModel = Backbone.Model.extend({ else { const log = this.get('log'); const timeDiff = new Date().getTime() - log.time; - console.log('this', this); + // console.log('this', this); const dist = distance(log.lat, log.long, this.get('latitude'), this.get('longitude')); console.log('Weather distance:', dist); diff --git a/src/v1/js/app.js b/src/v1/js/app.js index 0dd446c..014ca0d 100644 --- a/src/v1/js/app.js +++ b/src/v1/js/app.js @@ -21,7 +21,7 @@ const { NearbyListModel, NearbyListView } = require('./NearbyList'); const { NearbyPlacesView } = require('./NearbyPlaces'); var app = app || {}; -const live = false; +const live = true; if (live) { window.loc = 'https://jubilee.silvrtree.co.uk';