cyclejs: makeDOMDriver does not handle being called before DOM Ready
From @WorldMaker on October 20, 2015 16:19
I created a test bundle of all my scripts (using jspm bundle-sfx if you are curious, but that shouldn’t matter) and when attempting to run as a bundle I hit the case where the browser was running the makeDOMDriver function prior to the DOM Ready. (Interestingly the DOM in this case was just the single DIV I’m currently using as a container, so kind of amazing the browsers manage to run the scripts before evaluating the DIV…)
Does it make sense for makeDOMDriver to handle the case where it is being called before DOM Ready?
Copied from original issue: cyclejs/cycle-dom#56
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (12 by maintainers)
Commits related to this issue
- fix(dom): start snabbdom only when DOM is ready ISSUES CLOSED: #222 — committed to cyclejs/cyclejs by staltz 7 years ago
- fix(dom): querySelect the container only after DOM is ready Fix the DOM driver so that querySelector (besides VDOM=>DOM rendering) happens only after the document is ready. ISSUES CLOSED: #222 — committed to cyclejs/cyclejs by staltz 7 years ago
- fix(dom): querySelect the container only after DOM is ready Fix the DOM driver so that querySelector (besides VDOM=>DOM rendering) happens only after the document is ready. ISSUES CLOSED: #222 — committed to cyclejs/cyclejs by staltz 7 years ago
- fix(dom): querySelect the container only after DOM is ready Fix the DOM driver so that querySelector (besides VDOM=>DOM rendering) happens only after the document is ready. ISSUES CLOSED: #222 — committed to cyclejs/cyclejs by staltz 7 years ago
Fixed finally in the
unifiedbranch. Not yet released.if this is still a bug I can work on this…