Leaflet/Leaflet — pull request #2269 by danzel (2013-12-06 01:57:18+00:00)
Title: A transitionEnd event only finished a zoom animation if it is for a transform

We get opacity transitionEnd events for fading tiles in, these can prematurely end a zoom animation which will then leave us at a non-integer zoom. Fixes #2255

Using indexOf as it can be 'transform' or '-webkit-transform' (and probably more)