Raphael.js 2.0 beta release is out - GitHub
1–10 of 19 posts
Re: Raphael.js 2.0 beta release is out - GitHub
#2Re: Raphael.js 2.0 beta release is out - GitHub
#3Which is really and genuinely great, except the author is still releasing the code in essentially impossible-to-review code drops: https://github.com/DmitryBaranovskiy/raphael/commit/164c349e...
Re: Raphael.js 2.0 beta release is out - GitHub
#4Which is really and genuinely great, except the author is still releasing the code in essentially impossible-to-review code drops: https://github.com/DmitryBaranovskiy/raphael/commit/164c349e...
Re: Raphael.js 2.0 beta release is out - GitHub
#5Which is really and genuinely great, except the author is still releasing the code in essentially impossible-to-review code drops: https://github.com/DmitryBaranovskiy/raphael/commit/164c349e...
Or, for that matter, per-version documentation.
Re: Raphael.js 2.0 beta release is out - GitHub
#6Which is really and genuinely great, except the author is still releasing the code in essentially impossible-to-review code drops: https://github.com/DmitryBaranovskiy/raphael/commit/164c349e...
Yeah. I wish he knew about "Commit early, commit often"...
http://thechangelog.com/post/631899187/episode-0-2-5-rapha-l...
Re: Raphael.js 2.0 beta release is out - GitHub
#7What does ~~num do?
Re: Raphael.js 2.0 beta release is out - GitHub
#8Earlier quoted context omitted.
Yeah. I wish he knew about "Commit early, commit often"...
He does. Also, he doesn't like contributions that much because most of the contributions he gets are (his words) "bad". Dmitry is ultra talented, but some of his opinions are bound to shock a few developers. If interested, see this interview with him on The Changelog: http://thechangelog.com/post/631899187/episode-0-2-5-rapha-l...
Re: Raphael.js 2.0 beta release is out - GitHub
#9round = function (num) { return +num + (~~num === num) * .5; }; What does ~~num do?
Re: Raphael.js 2.0 beta release is out - GitHub
#10round = function (num) { return +num + (~~num === num) * .5; }; What does ~~num do?
So ~~num I think would return the original value. The only reason I can see would be to coerce it into some kind of number type.