This commit is contained in:
Martin Donnelly 2018-02-27 00:01:26 +00:00
parent 78c2987db6
commit 0bb1e1baa6

View File

@ -56,7 +56,7 @@ const LocationModel = Backbone.Model.extend({
// this.set('location', location);
}.bind(this));
this.watcher = geolocation.createWatcher();
this.watcher = geolocation.createWatcher();
this.listenTo(this, 'change:location', this.onChange);
// this.tick();
@ -148,8 +148,8 @@ const LocationModel = Backbone.Model.extend({
this.moveTimer = setTimeout(
() => {
console.log('>>>> STOPPED MOVING');
// const location = this.get('location');
// location.moving = false;
// const location = this.get('location');
// location.moving = false;
this.set('moving', false);
console.log(this);
},