-
-
Notifications
You must be signed in to change notification settings - Fork 875
Update contributions section for CLI #69
Update contributions section for CLI #69
Conversation
var ENV = { | ||
EmberENV: { | ||
FEATURES: { | ||
Ember.FEATURES["htmlbars"] = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/ember-cli/ember-cli/pull/958/files#diff-9588ab8abb99afa6cac30dd0e2b86041R8
it should be
FEATURES: {
'htmlbars': true`
}
How so? |
Because it's using the global Ember.FEATURES hash |
Yea. Duh. Good point. You are totally right. On Thu, Mar 19, 2015 at 9:21 PM, Ricardo Mendes notifications@github.com
|
@@ -44,7 +44,7 @@ problems with early return. | |||
```js | |||
if (Ember.FEATURES.isEnabled("feature")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be in the Ember source code—not in a CLI project, I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
technically it is ;-) but seems good
Update contributions section for CLI
Updated the contribution guides section on feature flags for Ember CLI.