MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / _templatesTree

Method _templatesTree

lib/broccoli/ember-app.js:681–704  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

679 }
680
681 _templatesTree() {
682 if (!this._cachedTemplateTree) {
683 let trees = [];
684 if (this.trees.templates) {
685 let standardTemplates = new Funnel(this.trees.templates, {
686 srcDir: '/',
687 destDir: `${this.name}/templates`,
688 annotation: 'Funnel: Templates',
689 });
690
691 trees.push(standardTemplates);
692 }
693
694 if (this.trees.app) {
695 trees.push(this.podTemplates());
696 }
697
698 this._cachedTemplateTree = mergeTrees(trees, {
699 annotation: 'TreeMerge (templates)',
700 });
701 }
702
703 return this._cachedTemplateTree;
704 }
705
706 /*
707 * Gather application and add-ons javascript files and return them in a single

Callers 1

getLintTestsMethod · 0.95

Calls 1

podTemplatesMethod · 0.95

Tested by

no test coverage detected