mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-17 05:21:36 +03:00
11 lines
327 B
JavaScript
11 lines
327 B
JavaScript
|
//Used to surgically insert the store into things that wouldn't normally have them.
|
||
|
var StoreInjector = {
|
||
|
name: 'store-injector',
|
||
|
after: 'store',
|
||
|
initialize: function (container, application) {
|
||
|
application.inject('component:gh-role-selector', 'store', 'store:main');
|
||
|
}
|
||
|
};
|
||
|
|
||
|
export default StoreInjector;
|