phoboslab / WebGLImageFilter

Fast image filters for Browsers with WebGL support
MIT License
332 stars 62 forks source link

would you accept a PR for es modules support? #20

Closed mreinstein closed 4 years ago

mreinstein commented 4 years ago

The majority of browsers natively support the new es modules feature, would you be willing/interested to accept a PR for this, or would you prefer to keep WebGLImageFilter as a window global?

phoboslab commented 4 years ago

I don't see much benefit for using ES Modules for such a simple, 1-file library; especially when all the Syntax is still ES5. Maybe for a rewrite, if I ever get interested in this again :)

mreinstein commented 4 years ago

I don't see much benefit for using ES Modules for such a simple, 1-file library

I guess to me the benefits would be:

especially when all the Syntax is still ES5

do you want es6 syntax? That's pretty much everywhere now, except for ie. If you want es6 I'm happy to send a PR. :)

phoboslab commented 4 years ago

Honestly, no. It wouldn't feel like "my" library anymore and I guess I would lose interested in maintaining it. Considering I'm not doing a good job at that anyway at the moment, feel free to fork it :)

mreinstein commented 4 years ago

no need, I'm not looking to move in and usurp your project. :)