Skip to content

Components after ViewModel instantiation #157

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

Closed
ghost opened this issue Mar 4, 2014 · 1 comment
Closed

Components after ViewModel instantiation #157

ghost opened this issue Mar 4, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 4, 2014

Why is it that components added in after a ViewModel has been instantiated are not visible / registered?

http://jsfiddle.net/LHK46/

I did find anything in the docs where it explicitly mentions you need to have your components added before you create a ViewModel. Not a big deal to me at all but it might save someone some frustration down the road.

@yyx990803
Copy link
Member

Hmm yeah I should mention it. Basically instantiation = compilation, so all assets need to have been registered beforehand.

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