Skip to content

Add support for config phase - #12

Open
nsaunders wants to merge 3 commits into
edinella:masterfrom
nsaunders:master
Open

Add support for config phase#12
nsaunders wants to merge 3 commits into
edinella:masterfrom
nsaunders:master

Conversation

@nsaunders

Copy link
Copy Markdown

I think beat is awesome and was pleasantly surprised to find providers implemented as a feature. I was more surprised, though, not to find support for provider configuration as in AngularJS. I'm sure it's something you just haven't gotten to yet. I took the liberty to add it!

Now, I'm not entirely sure it works the same as AngularJS, but it is certainly close enough for my purposes. Essentially, before any function registered via the run method is invoked, all functions registered via the config method are invoked with their respective provider dependencies.

@edinella edinella self-assigned this Feb 6, 2015
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

Successfully merging this pull request may close these issues.

2 participants