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

Calls to .log and .dir can come in before widget fully ready #31

Open
alecperkins opened this issue Mar 23, 2012 · 0 comments
Open

Calls to .log and .dir can come in before widget fully ready #31

alecperkins opened this issue Mar 23, 2012 · 0 comments
Labels
Milestone

Comments

@alecperkins
Copy link
Owner

Currently, calling CoffeeTable.log, etc, before the widget has finished loading results in an error since the widget's DOM isn't complete. DOM ready isn't reliable, since the widget is already initializing after DOM ready by default. Calls to the API need to be buffered if the widget hasn't finished initializing. Or perhaps a 'ready' event on the widget that can handle a callback.

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

No branches or pull requests

1 participant