Ember.FEATURES Class
Hash of enabled Canary features. Add to before creating your application.
You can also define ENV.FEATURES
if you need to enable features flagged at runtime.
Item Index
Methods
Methods
isEnabled
(
Boolean
-
feature
Test that a feature is enabled. Parsed by Ember's build tools to leave experimental features out of beta/stable builds.
You can define the following configuration options:
ENV.ENABLE_ALL_FEATURES
- force all features to be enabled.ENV.ENABLE_OPTIONAL_FEATURES
- enable any features that have not been explicitly enabled/disabled.
Parameters:
-
feature
String
Returns:
Boolean: