satisfy lint

This commit is contained in:
Dominik Moritz
2012-09-01 21:07:01 +01:00
parent 9b1bedc97c
commit 69d1cfbdf2

View File

@@ -54,18 +54,18 @@ my.Map = Backbone.View.extend({
// Listen to changes in the fields // Listen to changes in the fields
this.model.fields.bind('change', function() { this.model.fields.bind('change', function() {
self._setupGeometryField() self._setupGeometryField();
self.render() self.render();
}); });
// Listen to changes in the records // Listen to changes in the records
this.model.records.bind('add', function(doc){self.redraw('add',doc)}); this.model.records.bind('add', function(doc){self.redraw('add',doc);});
this.model.records.bind('change', function(doc){ this.model.records.bind('change', function(doc){
self.redraw('remove',doc); self.redraw('remove',doc);
self.redraw('add',doc); self.redraw('add',doc);
}); });
this.model.records.bind('remove', function(doc){self.redraw('remove',doc)}); this.model.records.bind('remove', function(doc){self.redraw('remove',doc);});
this.model.records.bind('reset', function(){self.redraw('reset')}); this.model.records.bind('reset', function(){self.redraw('reset');});
this.menu = new my.MapMenu({ this.menu = new my.MapMenu({
model: this.model, model: this.model,