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

Move away maximum possible method from initialization #18

Closed
kfuzaylov opened this issue Jul 15, 2015 · 0 comments
Closed

Move away maximum possible method from initialization #18

kfuzaylov opened this issue Jul 15, 2015 · 0 comments
Labels

Comments

@kfuzaylov
Copy link
Owner

in init method need to execute method only depending from DOMContentLoaded event.

function init() {
    _domIsLoaded = true;
    handleEvents();
    _moff.runCallbacks(_domLoadedCallbacks, this);
}

init should be like this

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