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

Injection: default should be all injections #91

Open
joshjung opened this issue Feb 24, 2017 · 0 comments
Open

Injection: default should be all injections #91

joshjung opened this issue Feb 24, 2017 · 0 comments

Comments

@joshjung
Copy link
Collaborator

If a function is provided to Ringa that has no arguments, the injection mechanism should pass every available injection in a single object as the only argument. This will allow for code like this:

controller.addListener('event', [
...
console.log,
...
]);

This will console log out every injection at that point, making debugging much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant