pixijs / animate

PixiJS runtime library for content from Adobe Animate CC
https://pixijs.io/animate/
MIT License
215 stars 33 forks source link

shapes.txt files can't be cache busted #121

Closed IJsLauw closed 2 years ago

IJsLauw commented 2 years ago

Due to a regular expression that ends with a (unneeded) $ I can't add a cache buster to the url of *.shapes.txt files.

Can someone remove the $ here?

else if (resource.url.search(/\.shapes\.(json|txt)$/i) > -1) {

found on line 189 of animate/blob/master/src/animate/load.ts

Many thanks!

andrewstart commented 2 years ago

I've fixed this in version 2.0.2