function bindRemoved(that, content) {
  content.on('removed', function(ev) {
    if (content === that.content) {
      delete that.content;
    }
    if (! that.content && that.header) {
      that.header.empty();
    }
  });
}
function bindRemoved(that, content) {
  content.on('removed', function(ev) {
    if (content === that.content) {
      delete that.content;
    }
    if (! that.content && that.header) {
      that.header.empty();
    }
  });
}
function bindRemoved ( that , content ) { content . on ( 'removed' , function ( ev ) { if ( content === that . content ) { delete that . content ; } if ( ! that . content && that . header ) { that . header . empty ( ) ; } } ) ; }
Private {{{1
Private {{{ 1