some console logs removed

This commit is contained in:
Martin Donnelly 2018-04-19 22:05:03 +01:00
parent 5459713176
commit a70d76127a
6 changed files with 7 additions and 7 deletions

View File

@ -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 = [

View File

@ -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);

View File

@ -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');
}

View File

@ -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);

View File

@ -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);

View File

@ -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';