vendor/ember-leaflet-cartodb/cartodb_noleaflet.js
function() {
    this.$('tfoot').remove();
    this.$('tr.noRows').remove();

    // unbind rows before cleaning them when all are gonna be removed
    var rowView = null;
    while(rowView = this.rowViews.pop()) {
      // this is a hack to avoid all the elements are removed one by one
      rowView.unbind(null, null, this);
      // each element removes itself from rowViews
      rowView.clean();
    }
    // clean all the html at the same time
    this.rowViews = [];
  }
function() {
    this.$('tfoot').remove();
    this.$('tr.noRows').remove();

    // unbind rows before cleaning them when all are gonna be removed
    var rowView = null;
    while(rowView = this.rowViews.pop()) {
      // this is a hack to avoid all the elements are removed one by one
      rowView.unbind(null, null, this);
      // each element removes itself from rowViews
      rowView.clean();
    }
    // clean all the html at the same time
    this.rowViews = [];
  }
function ( ) { this . $ ( 'tfoot' ) . remove ( ) ; this . $ ( 'tr.noRows' ) . remove ( ) ; // unbind rows before cleaning them when all are gonna be removed var rowView = null ; while ( rowView = this . rowViews . pop ( ) ) { // this is a hack to avoid all the elements are removed one by one rowView . unbind ( null , null , this ) ; // each element removes itself from rowViews rowView . clean ( ) ; } // clean all the html at the same time this . rowViews = [ ] ; }
remove all rows
remove all rows