Stringify visit access a variable that does not exist #9
Labels
No labels
bug
dependencies
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rafaelcaricio/gradient-parser#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
in the call to
visitor.visit_array
,result
is not defined, throwing an error.Hi @jcharry I just published a npm package to parse CSS gradients https://npmjs.com/package/webskit-gradient-parser please let me know if is helpful for you, thank you!
#javascript #css #gradients #npm #webskit
@oceangravity: Nice! But the stringify feature is missing, which is very important for manipulating a gradient via its AST.
@rafaelcaricio: Any chances this could be addressed in the near future? Currently stringifying is not possible.
There is a fork with a fix for the issue: https://github.com/pixelspark/gradient-parser
@strarsis this should be fixed now in version
1.0.2
. Could you check if that works now?