Skip to content

Commit

Permalink
Move initialize-store-service.js out of the instance-initializers dir…
Browse files Browse the repository at this point in the history
…ectory.

That directory seems to be suggesting to ember-load-initializers that
it is a full initializer object and causing an exception to be thrown
in the globals build.

Fixes #5118
  • Loading branch information
bmac committed Oct 22, 2017
1 parent 9cf542b commit f3e1e32
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import {

import "ember-inflector";
import setupContainer from "./setup-container";
import initializeStoreService from './instance-initializers/initialize-store-service';
import initializeStoreService from './initialize-store-service';

import Transform from './transforms/transform';
import NumberTransform from './transforms/number';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion app/instance-initializers/ember-data.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import initializeStoreService from 'ember-data/instance-initializers/initialize-store-service';
import initializeStoreService from 'ember-data/initialize-store-service';

export default {
name: "ember-data",
Expand Down

0 comments on commit f3e1e32

Please sign in to comment.