meteor-space / base

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

Fixes dependency problems #4

Closed ghost closed 9 years ago

ghost commented 9 years ago

When Space.Application is used from a package there were problems with undefined globals. Using weak dependencies fixes this.

DominikGuzei commented 9 years ago

Thank you, this was already overdue! :wink:

DominikGuzei commented 9 years ago

Ah, btw because I saw it after merging – you can also write @injector.map('...').to() instead of @injector.map('...').toStaticValue(), those are aliases :wink: I just kept the toStaticValue method for backward compatibility