rafaelcaricio / gradient-parser

Parse CSS3 gradient definitions and build an AST object.
MIT License
62 stars 10 forks source link

Define result variable #11

Closed ilyalesik closed 3 years ago

ilyalesik commented 4 years ago

Some environments can throws error than variable is not defined.

pixelspark commented 3 years ago

@rafaelcaricio any chance you could merge this? The issue is showing up for me as well and is rather simple to fix. Ideally in this repo, otherwise I will have to fork it...

rafaelcaricio commented 3 years ago

Merged! Sorry for the delay, I completely forgot about this PR.

pixelspark commented 3 years ago

Brilliant! Thanks. Will you also release on NPM? (Probably requires pushing a few more buttons on your side)

ilyalesik commented 3 years ago

🎉

rafaelcaricio commented 3 years ago

Yes, I will publish it to npm.

rafaelcaricio commented 3 years ago

Done! 🥳 https://www.npmjs.com/package/gradient-parser

pixelspark commented 3 years ago

Awesome!