examples/map/js/backbone.marionette.js
function(){
    if (!this.ui || !this._uiBindings){ return; }

    // delete all of the existing ui bindings
    _.each(this.ui, function($el, name){
      delete this.ui[name];
    }, this);

    // reset the ui element to the original bindings configuration
    this.ui = this._uiBindings;
    delete this._uiBindings;
  }
function(){
    if (!this.ui || !this._uiBindings){ return; }

    // delete all of the existing ui bindings
    _.each(this.ui, function($el, name){
      delete this.ui[name];
    }, this);

    // reset the ui element to the original bindings configuration
    this.ui = this._uiBindings;
    delete this._uiBindings;
  }
function ( ) { if ( ! this . ui || ! this . _uiBindings ) { return ; } // delete all of the existing ui bindings _ . each ( this . ui , function ( $el , name ) { delete this . ui [ name ] ; } , this ) ; // reset the ui element to the original bindings configuration this . ui = this . _uiBindings ; delete this . _uiBindings ; }
This method unbinds the elements specified in the "ui" hash
This method unbinds the elements specified in the ui hash