Re:Snap – A JavaScript SVG Library
by nraynaud on Wednesday October 23, 2013 @01:23PM
(#6600180)
I find a bit strange not to have contributed in svg.js ( http://www.svgjs.com/ ).
Not Invented Here ?
[ Parent
| on HN ]
Re:Snap – A JavaScript SVG Library
by DanielRibeiro on Wednesday October 23, 2013 @03:24PM
(#6601058)
The author actually just gave a talk (actually finishing it) and he explained: he did not like the code style (svg.js does not use semicolons at the end of the lines).
Well that is what he said. But I believe having created Raphael.js in 2008, much before svg.js existed, also influenced his decision.
why not forking then ?
Same question. I was using Raphael.js earlier and had to switch to svg.js for SVG specific features, and it's quite a nice library, though perhaps not as developed as Raphael in terms of documentation.
The only possible conflicting goal I can imagine is that one of svg.js' goals is to be as small as possible (e.g. generating an <ellipse> instead of a <circle> to increase code reuse between the circle and ellipse shapes[1]).
Re:Snap – A JavaScript SVG Library
by cashmonkey85 on Thursday October 24, 2013 @03:42AM
(#6603862)
I've found svg.js unusable for any project I've had as it requires all svg content to be created with svg.js and no imports.