Skip to content

Commit

Permalink
Merge pull request #784 from sandydoo/remove-ember-global
Browse files Browse the repository at this point in the history
Remove usage of the Ember global
  • Loading branch information
ef4 authored Apr 29, 2021
2 parents 0f3359a + c182ed6 commit beb22b6
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 beb22b6

Please sign in to comment.