Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Add glimmer-component and glimmer-helper blueprints #30

Merged
merged 4 commits into from Mar 28, 2017
Merged

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Mar 28, 2017

Based on @Turbo87's work in #24, this adds new blueprints for both glimmer components and helpers.

After ember-cli-legacy-helpers is removed from ember-cli, we should plan to support plain component and helper blueprints here (since they won't conflict with the legacy blueprints).

@dgeb dgeb merged commit 0d7652d into master Mar 28, 2017
@dgeb dgeb deleted the blueprints branch March 28, 2017 08:05
@@ -0,0 +1,2 @@
export default function(params) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't that be in src/ui/helpers?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and since components have a class name now, shouldn't helper functions have one too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't that be in src/ui/helpers?

We debated this for a while coming up with module unification, and settled on helpers and components in the same collection of invocable template functions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and since components have a class name now, shouldn't helper functions have one too?

Probably - sorry I was in a rush.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants