Closed gilmoreorless closed 8 years ago
Thank you for pointing this out and sorry for the very late fix.
@rafaelcaricio it looks like the built version was not updated: the error still exists in https://github.com/rafaelcaricio/gradient-parser/blob/master/build/node.js#L267. Would you mind updating the build as well?
I will have a look. I did something wrong.. 🤦🏽
The radial-gradient spec says that both shape and size are optional.
Gradient Parser works with most cases, but it fails in the specific case when a size is given (such as "furthest-corner") but a shape is omitted.
Example: https://jsbin.com/gogelo/5/edit?html,js,console