We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is currently no public API for accessing the state of optional features at runtime, and this addon seems like the ideal place. Something like:
import { hasOptionalFeature } from 'ember-compatibility-helpers'; if (hasOptionalFeature('jquery-integration')) { // ... }
I think this will either require, or else supercede emberjs/ember-optional-features#10, but either way, should address emberjs/ember-optional-features#10 (comment).
The text was updated successfully, but these errors were encountered:
I totally agree.
Sorry, something went wrong.
Yeah, trying to write tests that work with classic and v4, and hitting this. Any ideas?
No branches or pull requests
There is currently no public API for accessing the state of optional features at runtime, and this addon seems like the ideal place. Something like:
I think this will either require, or else supercede emberjs/ember-optional-features#10, but either way, should address emberjs/ember-optional-features#10 (comment).
The text was updated successfully, but these errors were encountered: