add ByMe
This commit is contained in:
parent
78c2987db6
commit
0bb1e1baa6
@ -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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user