Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Aug 9, 2021
1 parent 2a2ea04 commit fbbd92b
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions packages/@ember/-internals/container/lib/registry.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Factory } from '@ember/-internals/owner';
import { dictionary, intern } from '@ember/-internals/utils';
import { assert, deprecate } from '@ember/debug';
import { assert } from '@ember/debug';
import { DEBUG } from '@glimmer/env';
import Container, { ContainerOptions, LazyInjection } from './container';

Expand Down Expand Up @@ -566,19 +566,19 @@ export default class Registry implements IRegistry {
this.isValidFullName(injectionName)
);

deprecate(
`owner.inject has been deprecated and will be removed in v5.0.0. Please refactor to explicitly instantiate ${property} on ${fullName}.`,
false,
{
id: 'remove-owner-inject',
until: '5.0.0',
url: 'TODO',
for: 'ember-source',
since: {
enabled: '4.0.0',
},
}
);
// deprecate(
// `owner.inject has been deprecated and will be removed in v5.0.0. Please refactor to explicitly instantiate ${property} on ${fullName}.`,
// false,
// {
// id: 'remove-owner-inject',
// until: '5.0.0',
// url: 'TODO',
// for: 'ember-source',
// since: {
// enabled: '4.0.0',
// },
// }
// );

let normalizedInjectionName = this.normalize(injectionName);

Expand Down

0 comments on commit fbbd92b

Please sign in to comment.