Skip to content
This repository was archived by the owner on Dec 6, 2017. It is now read-only.

Conversation

antingshen
Copy link
Contributor

No description provided.

CHANGELOG.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove alpha.2 until we cut a new release

mhevery pushed a commit that referenced this pull request Jun 27, 2014
@mhevery
Copy link
Contributor

mhevery commented Jun 27, 2014

Closed by: 68fc32d

@mhevery mhevery closed this Jun 27, 2014
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be toFactory: (...) => ..., same below
should inject: [...] be added here also ? toFactory(a0, a1, …) => new Instance(a0, a1, …), inject: [a0Key, a1Key, ...]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inject should be passed in when bind is called, i.e. bind(toFactory, inject, ...) as shown below. This just specifies the typeFactories format.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants