Widdershin / cycle-restart

Swap out the code in your Cycle.js apps on the fly!
MIT License
123 stars 11 forks source link

The drivers passed to run are missing aditional methods #55

Open SteveALee opened 8 years ago

SteveALee commented 8 years ago

The cycle-history driver adds extra properties for accessing history functions

https://github.com/cyclejs/history/blob/master/src/makeHistoryDriver.js#L95-L96

I find that these are stripped off from sources.

For reference I'm using this code

https://github.com/OpenDirective/brian/blob/master/client/src/js/runHot.js

I guess I'm assuming the history driver is restart able.

Widdershin commented 8 years ago

Yep, this is an issue on my side, thanks for raising it.