Skip to content

Commit

Permalink
[DEPENDENCY]: removing container from the initializer for ember 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
toranb committed Sep 8, 2015
1 parent 2fc2842 commit 1f68d63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/initializers/ember-cli-simple-store.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Store from '../store';

export default function(container, application) {
export default function() {
var application = arguments[1] || arguments[0];
application.register('store:main', Store);
application.inject('controller', 'store', 'store:main');
application.inject('route', 'store', 'store:main');
Expand Down

0 comments on commit 1f68d63

Please sign in to comment.