Skip to content

Releases: nstraub/injectjs

AngularJS integration

17 Mar 00:58
Compare
Choose a tag to compare

Adds injector as $injectJS service for use with angular

Code Modularization and Grunt Build Process

17 Mar 00:56
Compare
Choose a tag to compare

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

07 Apr 18:17
Compare
Choose a tag to compare

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

25 Mar 18:40
Compare
Choose a tag to compare
No-Array registration Pre-release
Pre-release

Adds support for registering and injecting types with dependencies without providing a dependency array

First release

25 Mar 18:39
Compare
Choose a tag to compare
First release Pre-release
Pre-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.