Skip to content

Commit

Permalink
Remove usage of the Ember global
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Apr 27, 2021
1 parent 8b2c20d commit c182ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compat/src/compat-adapters/ember-inflector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { join } from 'path';
import { removeSync } from 'fs-extra';

const makeConfigurable = `
if (Ember.ENV.EXTEND_PROTOTYPES === true || Ember.ENV.EXTEND_PROTOTYPES.String) {
if (EmberENV.EXTEND_PROTOTYPES === true || EmberENV.EXTEND_PROTOTYPES.String) {
Object.defineProperty(String.prototype, 'pluralize', { configurable: true });
Object.defineProperty(String.prototype, 'singularize', { configurable: true });
Object.defineProperty(Ember, 'Inflector', { configurable: true });
Expand Down

0 comments on commit c182ed6

Please sign in to comment.