W3cubDocs

/Ember.js

Ember.FEATURES (public)

Defined in: packages/ember-debug/lib/features.js:5
Module: ember

isEnabled (feature) Boolean public

feature
String
The feature to check
returns
Boolean

Determine whether the specified feature is enabled. Used by Ember's build tools to exclude experimental features from beta/stable builds.

You can define the following configuration options:

  • EmberENV.ENABLE_OPTIONAL_FEATURES - enable any features that have not been explicitly enabled/disabled.

© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/ember/2.15/classes/Ember.FEATURES/methods