Skip to content
New issue

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

adapt_framework: Move from a central extended singleton to imported singletons #3009

Closed
oliverfoster opened this issue Jan 7, 2021 · 1 comment
Assignees

Comments

@oliverfoster
Copy link
Member

oliverfoster commented Jan 7, 2021

Subject of the issue

Adapt.device and Adapt.a11y style APIs do not work well with intellisense as there are not defined on the Adapt object in core/js/adapt but are instead injected from core/js/device or core/js/a11y respectively. It would be better to deprecate Adapt.device style APIs in favour of import device from 'core/js/device'; or import a11y from 'core/js/a11y'; wherefrom intellisense would work perfectly.

@oliverfoster
Copy link
Member Author

fixed with works for #2799

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants