dynamicHeaderConcat(options) {
    let modulesTree = this.owner.getModulesTree();
    let fixedHeaders = this.owner.getFixedModules('header');
    let fixedFooters = this.owner.getFixedModules('footer');
    let getHeaderFiles = this.getHeaderFiles.bind(this, new Set(fixedHeaders.concat(fixedFooters)));

    let concat = new Concat(modulesTree, options);
    let build = concat.build;
    concat.build = function() {
      this.footerFiles = fixedFooters;
      this.headerFiles = fixedHeaders.concat(getHeaderFiles());
      this._headerFooterFilesIndex = makeIndex(this.headerFiles, this.footerFiles);
      return build.apply(this, arguments);
    };

    return concat;
  }
/*
   * A broccoli-concat tree that will dynamically order header files based on our @after-module directives.
   */
A broccoli-concat tree that will dynamically order header files based on our @after-module directives.
A broccoli - concat tree that will dynamically order header files based on our @after - module directives .
dynamicHeaderConcat(options) {
    let modulesTree = this.owner.getModulesTree();
    let fixedHeaders = this.owner.getFixedModules('header');
    let fixedFooters = this.owner.getFixedModules('footer');
    let getHeaderFiles = this.getHeaderFiles.bind(this, new Set(fixedHeaders.concat(fixedFooters)));
    let concat = new Concat(modulesTree, options);
    let build = concat.build;
    concat.build = function() {
      this.footerFiles = fixedFooters;
      this.headerFiles = fixedHeaders.concat(getHeaderFiles());
      this._headerFooterFilesIndex = makeIndex(this.headerFiles, this.footerFiles);
      return build.apply(this, arguments);
    };
    return concat;
  }
dynamicHeaderConcat ( options ) { let modulesTree = this . owner . getModulesTree ( ) ; let fixedHeaders = this . owner . getFixedModules ( 'header' ) ; let fixedFooters = this . owner . getFixedModules ( 'footer' ) ; let getHeaderFiles = this . getHeaderFiles . bind ( this , new Set ( fixedHeaders . concat ( fixedFooters ) ) ) ; let concat = new Concat ( modulesTree , options ) ; let build = concat . build ; concat . build = function ( ) { this . footerFiles = fixedFooters ; this . headerFiles = fixedHeaders . concat ( getHeaderFiles ( ) ) ; this . _headerFooterFilesIndex = makeIndex ( this . headerFiles , this . footerFiles ) ; return build . apply ( this , arguments ) ; } ; return concat ; }
A broccoli-concat tree that will dynamically order header files based on our @after-module directives.
A broccoli - concat tree that will dynamically order header files based on our @after - module directives .