Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #404 from swquinn/gh-31
Browse files Browse the repository at this point in the history
GH-403: Add no-op ember-i18n initializer
  • Loading branch information
jamesarosen authored Sep 13, 2016
2 parents 511c83c + 69a1636 commit ce7779e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
10 changes: 10 additions & 0 deletions addon/initializers/ember-i18n.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// As of 4.3.0 using the ember-i18n initializer is no longer necessary.
//
// This is a no-op initializer to prevent applications that relied on the
// 'ember-i18n' initializer in their own workflow from breaking.
export default {
name: 'ember-i18n',
initialize() {
// No-op.
}
};
11 changes: 11 additions & 0 deletions addon/instance-initializers/ember-i18n.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// As of 4.3.0 using the ember-i18n instance initializer is no longer
// necessary.
//
// This is a no-op initializer to prevent applications that relied on the
// 'ember-i18n' instance initializer in their own workflow from breaking.
export default {
name: 'ember-i18n',
initialize() {
// No-op.
}
};
2 changes: 2 additions & 0 deletions app/initializers/ember-i18n.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import initializer from 'ember-i18n/initializers/ember-i18n';
export default initializer;
2 changes: 2 additions & 0 deletions app/instance-initializers/ember-i18n.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import initializer from 'ember-i18n/instance-initializers/ember-i18n';
export default initializer;

0 comments on commit ce7779e

Please sign in to comment.