makeDOMDriver does not handle being called before DOM Ready
See original GitHub issueFrom @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
Issue Analytics
- State:
- Created 8 years ago
- Comments:17 (12 by maintainers)
Top Results From Across the Web
cyclejs/cyclejs - Gitter
But i see an error at first when try to node app.js: Object is not defined at Object.makeDOMDriver. Laszlo Korte. @laszlokorte. Feb 22...
Read more >How to execute javascript after DOM is loaded in cycle.js
One way (using CycleJS with xstream) to execute JS code once after the DOM is ready is to run a (otherwise) non-operative observable....
Read more >Releases - Cycle - JS.ORG
The DOM driver now simulates event bubbling by itself, and does not use the native browser event bubbling mechanism any more to simplify...
Read more >How to wait for the DOM ready event in plain JavaScript
for example if I'm adding the event listener inside a loop and I don't really know what this will be when the event...
Read more >cycle-onionify - npm
DOM : vdom$, ... Onionify is a component wrapper, not a driver. ... Import and call onionify on your main function (the top-most...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed finally in the
unified
branch. Not yet released.if this is still a bug I can work on this…