We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as childKeys are not updated
example:
var oco = require('opencolor') const tree = oco.parse(` mightBeRed: #EF665F subtleYellow: #D8E096 brokenBlue: #21BECF reducedBlue: #1797A6 `) tree.traverseTree(false, (entry) => { entry.name = entry.name.replace('mightBeRed', 'brightRed') }) var ocoString = oco.render(tree); console.log(ocoString); /* prints brightRed: #EF665F subtleYellow: #D8E096 brokenBlue: #21BECF reducedBlue: #1797A6 */ console.log(tree.get('mightBeRed').hexcolor()) // defined console.log(tree.get('brightRed').hexcolor()) // throws TypeError: Cannot read property 'hexcolor' of undefined
The text was updated successfully, but these errors were encountered:
18de59b
rockitbaby
No branches or pull requests
as childKeys are not updated
example:
The text was updated successfully, but these errors were encountered: