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

[QUESTION] Is components guaranteed to load after DOMContentLoaded? #8

Open
dotnetCarpenter opened this issue Jan 22, 2015 · 0 comments

Comments

@dotnetCarpenter
Copy link

I was about to implement DOMContentLoaded in my require.callback function. When it dawned on me that rvc is used with an exclamation mark (e.i. deps: ["ractive", "rvc!components/filter"]). Does that mean that rvc is loaded after the DOM is ready as described in RequireJS#pageload documentation? Or does rvc do any DOM ready logic before inserting/appending a component?

I just want to make sure I don't need to track down race conditions later.

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