demo/amd/main.js
function ( options ) {
                _.bindAll( this, "selectNext", "selectPrev", "onSelect", "render" );
                this.collection = options.collection;
                this.listenTo( this.collection, "select:one", this.onSelect );
                this.listenTo( this.collection, "remove", this.render );
                this.render();
            }
function ( options ) {
                _.bindAll( this, "selectNext", "selectPrev", "onSelect", "render" );
                this.collection = options.collection;
                this.listenTo( this.collection, "select:one", this.onSelect );
                this.listenTo( this.collection, "remove", this.render );
                this.render();
            }
function ( options ) { _ . bindAll ( this , "selectNext" , "selectPrev" , "onSelect" , "render" ) ; this . collection = options . collection ; this . listenTo ( this . collection , "select:one" , this . onSelect ) ; this . listenTo ( this . collection , "remove" , this . render ) ; this . render ( ) ; }
A base class. Extend, don't instantiate. By default, render is a no-op. Override if necessary.
A base class . Extend don t instantiate . By default render is a no - op . Override if necessary .