some console logs removed
This commit is contained in:
parent
5459713176
commit
a70d76127a
@ -11,7 +11,7 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
const CACHE_VERSION = { 'version': '0.0.695' };
|
const CACHE_VERSION = { 'version': '0.0.704' };
|
||||||
const dataCacheName = 'jubileeData-v1';
|
const dataCacheName = 'jubileeData-v1';
|
||||||
const cacheName = 'jubilee-final-1';
|
const cacheName = 'jubilee-final-1';
|
||||||
const filesToCache = [
|
const filesToCache = [
|
||||||
|
@ -111,7 +111,7 @@ const LocationModel = Backbone.Model.extend({
|
|||||||
this.set( newLocation);
|
this.set( newLocation);
|
||||||
// this.set('moving', moving);
|
// this.set('moving', moving);
|
||||||
// this.set('lastGeocode', { 'lat':latitude, 'lng':longitude, 'timestamp':timestamp });
|
// this.set('lastGeocode', { 'lat':latitude, 'lng':longitude, 'timestamp':timestamp });
|
||||||
console.log('### location', this);
|
// console.log('### location', this);
|
||||||
}.bind(this))
|
}.bind(this))
|
||||||
.catch(function(err) {
|
.catch(function(err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
@ -151,7 +151,7 @@ const NewsView = Backbone.View.extend({
|
|||||||
'click .scrollCard': 'doClick'
|
'click .scrollCard': 'doClick'
|
||||||
|
|
||||||
}, 'doClick': function(d) {
|
}, 'doClick': function(d) {
|
||||||
console.log('Do click', d);
|
// console.log('Do click', d);
|
||||||
const id = get(d, 'currentTarget.dataset.guid', '');
|
const id = get(d, 'currentTarget.dataset.guid', '');
|
||||||
console.log(id);
|
console.log(id);
|
||||||
this.eventBus.trigger('showNews', id);
|
this.eventBus.trigger('showNews', id);
|
||||||
@ -166,7 +166,7 @@ const NewsView = Backbone.View.extend({
|
|||||||
this.model.set('update', now);
|
this.model.set('update', now);
|
||||||
},
|
},
|
||||||
'doMoreNews': function() {
|
'doMoreNews': function() {
|
||||||
console.log('doMoreNews', this);
|
// console.log('doMoreNews', this);
|
||||||
|
|
||||||
this.eventBus.trigger('showNewsList');
|
this.eventBus.trigger('showNewsList');
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,7 @@ const NewsListView = Backbone.View.extend({
|
|||||||
'click': 'doClick'
|
'click': 'doClick'
|
||||||
|
|
||||||
}, 'doClick': function(d) {
|
}, 'doClick': function(d) {
|
||||||
console.log('Do click', d);
|
// console.log('Do click', d);
|
||||||
const id = get(d, 'currentTarget.dataset.guid', '');
|
const id = get(d, 'currentTarget.dataset.guid', '');
|
||||||
console.log(id);
|
console.log(id);
|
||||||
this.eventBus.trigger('showNews', id);
|
this.eventBus.trigger('showNews', id);
|
||||||
|
@ -82,7 +82,7 @@ const WeatherModel = Backbone.Model.extend({
|
|||||||
else {
|
else {
|
||||||
const log = this.get('log');
|
const log = this.get('log');
|
||||||
const timeDiff = new Date().getTime() - log.time;
|
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'));
|
const dist = distance(log.lat, log.long, this.get('latitude'), this.get('longitude'));
|
||||||
console.log('Weather distance:', dist);
|
console.log('Weather distance:', dist);
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ const { NearbyListModel, NearbyListView } = require('./NearbyList');
|
|||||||
const { NearbyPlacesView } = require('./NearbyPlaces');
|
const { NearbyPlacesView } = require('./NearbyPlaces');
|
||||||
var app = app || {};
|
var app = app || {};
|
||||||
|
|
||||||
const live = false;
|
const live = true;
|
||||||
|
|
||||||
if (live) {
|
if (live) {
|
||||||
window.loc = 'https://jubilee.silvrtree.co.uk';
|
window.loc = 'https://jubilee.silvrtree.co.uk';
|
||||||
|
Loading…
Reference in New Issue
Block a user