Open
Description
Following some discussions on Discord it is still not entirely clear what the way forward should be. I'm attempting to write down the current situation here and would welcome comment on how this is supposed to be changed:
- if
@ember/jquery
is not used- if
jquery-integration
is not set- the build shows a warning about either setting the flag or using the addon, otherwise same situation as
jquery-integration: enabled
- the build shows a warning about either setting the flag or using the addon, otherwise same situation as
- if `jquery-integration is enabled
Ember.$
shows a deprecation forEmber.$
import $ from 'jquery';
shows a deprecation forEmber.$
this.$()
shows a deprecation forthis.$()
- if `jquery-integration is disabled
Ember.$
throws an errorimport $ from 'jquery';
throws an errorthis.$()
throws an error
- if
- if
@ember/jquery
is used- if `jquery-integration is enabled
Ember.$
??? (not tested)import $ from 'jquery';
works without deprecation warningthis.$()
shows a deprecation forthis.$()
- if `jquery-integration is disabled
Ember.$
throws an errorimport $ from 'jquery';
works without deprecation warningthis.$()
throws an error
- if `jquery-integration is enabled
Metadata
Metadata
Assignees
Labels
No labels