Re:Show HN: Textures.js, SVG Patterns for Data Visualization
by wayfarer2s on Wednesday March 18, 2015 @10:59AM
(#9225943)
An initial config object would probably be ideal, and then you could have the chaining to supplement those values. You could have the initial method take in the config and use the values in that in place of the defaults. So
could initially be
and later updated to be
Which works rather nicely especially when the config object is generated dynamically.
[ Parent
| on HN ]
There are no comments on this comment yet.