meteor-space / base

Foundation for Modular Application Architecture in Meteor.
MIT License
75 stars 5 forks source link

Fix/singleton mappings #24

Closed DominikGuzei closed 8 years ago

DominikGuzei commented 8 years ago

This PR fixes problems with auto-mappings being in-recursive-order with the onInitialize and afterInitialize hooks, which is hard to wrap your head around. So now ensure that all singletons have been mapped before onInitialize and created before afterInitialize

rhyslbw commented 8 years ago

Happy with this. Anything left to do?