Releases: nstraub/injectjs
Releases · nstraub/injectjs
AngularJS integration
Code Modularization and Grunt Build Process
Splits code into modules and adds a Grunt build process to get the final file as well as a minified version
Providers and Test Utils
Adds the following functionalities:
- Basic caching.
- Running providers in a context (specify value of
this
). - Passive providers for registered types.
- Parametrized providers (aka ad hoc dependencies).
- State lifetime.
- extend, noConflict, hide, clearState utility methods.
- removeFake and flushFakes testing utility methods.
No-Array registration
Adds support for registering and injecting types with dependencies without providing a dependency array
First release
Supports the following:
- registering types
- registering providers
- instantiating types
- injecting types into methods
- singleton and transient lifetimes
- registering fakes and test harnesses
provides basic dependency injection capabilities and the ability to use these dependencies in a test environment.