examples/map/js/backbone.marionette.js
function(){
    if (this.collection){
      this.listenTo(this.collection, "add", this.addChildView, this);
      this.listenTo(this.collection, "remove", this.removeItemView, this);
      this.listenTo(this.collection, "reset", this.render, this);
    }
  }
function(){
    if (this.collection){
      this.listenTo(this.collection, "add", this.addChildView, this);
      this.listenTo(this.collection, "remove", this.removeItemView, this);
      this.listenTo(this.collection, "reset", this.render, this);
    }
  }
function ( ) { if ( this . collection ) { this . listenTo ( this . collection , "add" , this . addChildView , this ) ; this . listenTo ( this . collection , "remove" , this . removeItemView , this ) ; this . listenTo ( this . collection , "reset" , this . render , this ) ; } }
Configured the initial events that the collection view binds to. Override this method to prevent the initial events, or to add your own initial events.
Configured the initial events that the collection view binds to . Override this method to prevent the initial events or to add your own initial events .