jaredly / rxvision

visualizer debugger for reactive streams
http://jaredly.github.io/rxvision/
426 stars 32 forks source link

standalone version #9

Closed brucou closed 8 years ago

brucou commented 9 years ago

I desperately need such a visualization library for my Rxjs programming. It is by far the most appealing tool for such a purpose out of all existing alternatives. However I could not manage to use/configure rxvision. A standalone version would be greatly appreciated, and/or some documentation. to make it work. I understood from the examples, that the visualization comes in a <div class="rxvision"></div>. I am not sure about the meaning of data-rxvision="true" though. My problem is the webpack script expect Rx to be a global on the window object which is not the case of my configuration (I use require), and I am at a loss here. Is there any chance you can free some time to deliver a standalone script?

These are the scripts I have included in my index.html:

<script src="js/build/rxvision.js"></script>
<script src="js/build/d3.js"></script>
<script src="js/build/viz.js"></script>

Example of log:

webpack:///./run/rx.js?:11 global Rx not found!
webpack:///./run/viz.js?:28 RxVision tracer not found
Uncaught Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch
brucou commented 8 years ago

Closing this as I no longer have an interest in Rxvision, which seems to be a dead project anyways