danchitnis / webgl-plot

A high-Performance real-time 2D plotting library based on native WebGL
https://danchitnis.github.io/webgl-plot-examples/vanilla/
MIT License
576 stars 33 forks source link

The JSDeliver CDN doesn't work anymore? #62

Closed AdamMarciniak closed 3 years ago

AdamMarciniak commented 3 years ago

I'm not able to run the JSDeliver URL as a script anymore. Did that break?

danchitnis commented 3 years ago

@polishdude20 did you mean the umd examples? I have fixed these now since there was a change in the export naming of the module.

However, I strongly recommend using ES6 and Skypack if you are developing in the browser.

AdamMarciniak commented 3 years ago

I mean using this code snippet:

<script src="https://cdn.jsdelivr.net/gh/danchitnis/webgl-plot@master/dist/webglplot.umd.min.js"></script>

It looks like the code returned from that page is the wrong one?

danchitnis commented 3 years ago

yes it works, see the examples: Codepen JSfiddle