johnpolacek/scrollorama — pull request #32 by jhdavids8 (2013-02-13 20:24:14+00:00)
Title: Ability to animate using units other than pixels (e.g %, pt, em, etc)

I ran into an issue where I wanted the width of an element to animate to a percentage of its container rather than a pixel width (animate to '90%' instead of '90px'), so I added support for any CSS unit by extracting non-numeric characters at the end of the given start and/or end value and using that unit during element animation. Thanks!