Khan/khan-exercises — pull request #23385 by xymostech (2012-06-06 02:06:20+00:00)
Title: Raphael update

Update Raphaël to 2.1.0 (the current version).

Most of what changed was the new .transform function, which replaces .translate, .rotate, and .scale. The transform function works fairly well for absolute scaling/positioning/rotating which lets us avoid using .translate with delta positioning and ending up with rounding errors and such, but makes it harder to do one-off changes and animations of single attributes. You can see how this pans out in interactive.js's Protractor.

I spot-checked all of the interactive exercises and some of the other ones, so I'm fairly certain everything should be working fine, but people might want to do some checking on their own, in case one of the non-interactive exercises uses an obscure interface that I didn't check. In any case, if something is broken it should be fairly easy to fix after it is pushed.

@beneater @spicyj @mwittels