Open p3k opened 9 years ago
I don't have any experience with RequireJS, but there seem to be some issues with it and browserify, which is what I used to build the graphlib-dot bundle. See discussion / suggestions here: https://github.com/substack/node-browserify/issues/790.
Thanks for the pointer. I can confirm that it works when I add graphlib-dot with a <script>
element before the one for RequireJS. Would be still neat to use graphlib-dot as RequireJS module, though.
When I include the library together with RequireJS like the following in an HTML page I get the error and stack trace below:
What do I need to do to make graphlib-dot work with RequireJS (which is a requirement)?