code: function() {
        var injectionSite,
          newDOM = $(templateRenderer.copyTopElement(this.el));
        if (this.template) {
          newDOM.html(this.template(this.prepare()));
          injectionSite = newDOM.find('[inject=' + this.itemContainer + ']');
        } else {
          injectionSite = $('<span>');
          newDOM.append(injectionSite);
        }
        if (this.hasItemViews()) {
          injectionSite.replaceWith(this.__emptyAndRebuildItemViewsFragment());
        } else if (this.emptyTemplate) {
          injectionSite.replaceWith(this.emptyTemplate(this.prepareEmpty()));
        }
        this.$el.html(newDOM.contents());
      }
docs: Override of View.__updateDOM
  Builds a single DOM fragment from the item views and attaches it at once.
  @method __updateDOM