Deprecate import inject from @ember/service (#2716)
* Deprecate usage of import inject
This commit is contained in:
1 parent
34a670f8d7
commit
e8fc6d163b
264 files changed
+264
-264
No files matched your search
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import Service from '@ember/service';
|
||||
import { inject as service } from '@ember/service';
|
||||
import { service } from '@ember/service';
|
||||
|
||||
/**
|
||||
* Takes a POJO representing a query and converts it to a boolean expression
|
||||
|
||||
@@ -56,7 +56,7 @@ class MemoryStorage {
|
||||
*
|
||||
* @example
|
||||
* import Route from '@ember/routing/route';
|
||||
* import { inject as service } from '@ember/service';
|
||||
* import { service } from '@ember/service';
|
||||
* export default class ApplicationRoute extends Route {
|
||||
* @service storage;
|
||||
* afterModel() {
|
||||
|
||||
Reference in new issue
Block a user