Skip to content
This repository was archived by the owner on Jul 6, 2018. It is now read-only.

Commit 5356bd0

Browse files
committed
Fix bad Ember.Inflector references in ember-inflector tests
1 parent 39b5e0e commit 5356bd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

types/ember-inflector/ember-inflector-tests.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Ember.String.singularize("tacos"); // taco
1111
Ember.String.pluralize("taco"); // tacos
1212

1313
// or if not using Ember CLI/ES6
14-
Ember.Inflector.inflector.pluralize("taco"); // tacos
14+
Inflector.inflector.pluralize("taco"); // tacos
1515

1616
const inflector = Inflector.inflector;
1717
const inflector2 = new Inflector();
18-
const inflector3 = new Ember.Inflector();
19-
const inflector4 = new Ember.Inflector(Ember.Inflector.defaultRules);
18+
const inflector3 = new Inflector();
19+
const inflector4 = new Inflector(Inflector.defaultRules);
2020

2121
const customRules = {
2222
plurals: [
@@ -31,7 +31,7 @@ const customRules = {
3131
uncountable: [ 'fish' ]
3232
};
3333

34-
const inflector5 = new Ember.Inflector(customRules);
34+
const inflector5 = new Inflector(customRules);
3535

3636
inflector.irregular('formula', 'formulae');
3737
inflector.uncountable('advice');

0 commit comments

Comments
 (0)