-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: making ember-on-modifier a true polyfill (#57)
* Making ember-on-modifier a true polyfill. Uses ember-cli-version-checker to determine if the modifier should included in the addon tree. If the modifier is not included and ember-event-helpers is installed, a message is displayed that ember-on-modifier can be removed from a project's depenendencies. * Improving deprecation messaging. * Fixing typo in tree funnel logic.
- Loading branch information
1 parent
75f2aa6
commit 0c93c82
Showing
5 changed files
with
224 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { test, skip } from 'qunit'; | ||
import { gte } from 'ember-compatibility-helpers'; | ||
|
||
export const onModifierPolyfilled = !gte('3.11.0-beta.1'); | ||
|
||
export const testIfOnModifierPolyfilled = onModifierPolyfilled ? test : skip; |
Oops, something went wrong.