Skip to content

Commit

Permalink
Move templates into ember-glimmer.
Browse files Browse the repository at this point in the history
Updates to emberjs-build allow package specific precompiler to work
properly.  This takes advantage of that by symlinking shared templates
from ember-glimmer to ember-htmlbars packages (so the template contents can
be shared).
  • Loading branch information
rwjblue committed Mar 19, 2016
1 parent 94964e1 commit 86ffb95
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ if (glimmerStatus === null || glimmerStatus === true) {
testingVendorRequirements: [
'glimmer-object',
'glimmer-engine-tests'
]
],
hasTemplates: true
};

var templateCompiler = packages['ember-template-compiler'];
Expand Down
1 change: 1 addition & 0 deletions packages/ember-glimmer/lib/templates/component.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{yield}}
Empty file.
1 change: 1 addition & 0 deletions packages/ember-glimmer/lib/templates/link-to.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{#if linkTitle}}{{linkTitle}}{{else}}{{yield}}{{/if}}
1 change: 1 addition & 0 deletions packages/ember-glimmer/lib/templates/top-level-view.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{outlet}}
1 change: 0 additions & 1 deletion packages/ember-htmlbars/lib/templates/component.hbs

This file was deleted.

1 change: 1 addition & 0 deletions packages/ember-htmlbars/lib/templates/component.hbs
Empty file.
1 change: 1 addition & 0 deletions packages/ember-htmlbars/lib/templates/empty.hbs
1 change: 0 additions & 1 deletion packages/ember-htmlbars/lib/templates/link-to.hbs

This file was deleted.

1 change: 1 addition & 0 deletions packages/ember-htmlbars/lib/templates/link-to.hbs
1 change: 0 additions & 1 deletion packages/ember-htmlbars/lib/templates/top-level-view.hbs

This file was deleted.

1 change: 1 addition & 0 deletions packages/ember-htmlbars/lib/templates/top-level-view.hbs

0 comments on commit 86ffb95

Please sign in to comment.