News for hackers. Stuff that matters.
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 ?
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.

Re:Snap – A JavaScript SVG Library by nraynaud on Wednesday October 23, 2013 @04:15PM (#6601368)
why not forking then ?
Re:Snap – A JavaScript SVG Library by achal on Wednesday October 23, 2013 @03:26PM (#6601071)
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]).

[1]: http://documentup.com/wout/svg.js#elements/circle

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.
Re:Snap – A JavaScript SVG Library by nraynaud on Thursday October 24, 2013 @04:42AM (#6604014)
why not edit it? it's open source.