Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P442 need to keep invoke function second argument to be passed #362

Open
hjzheng opened this issue Jan 17, 2017 · 0 comments
Open

P442 need to keep invoke function second argument to be passed #362

hjzheng opened this issue Jan 17, 2017 · 0 comments

Comments

@hjzheng
Copy link

hjzheng commented Jan 17, 2017

var instance = instanceCache[name] = invoke(provider.$get);

I think the right code is:

var instance = instanceCache[name] = invoke(provider.$get, provider);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant