stamen / modestmaps-js

Modest Maps javascript port
http://modestmaps.com
566 stars 152 forks source link

Fix name of unprefixed DOM property for CSS transform property #141

Closed dbaron closed 12 years ago

dbaron commented 12 years ago

This is a change to sniff for the correct DOM property so this code will continue to work when browsers drop support for prefixes on the transform property, and will also prefer unprefixed to prefixed when browsers support both.

I suspect this fixes a search-replace error, since the code comment suggests that the code came from LeafletJS, and https://github.com/CloudMade/Leaflet/blob/4edfaee008ff5f80524c06d95ed5e1808260e3d2/src/dom/DomUtil.js#L167 has the correct name.

tmcw commented 12 years ago

Hi, can you re-roll this patch against https://github.com/modestmaps/modestmaps-js ? This repo has moved but hasn't been 'moved' yet, and modestmaps/modestmaps-js is the official repo.

dbaron commented 12 years ago

You should fix the link on http://modestmaps.com/ , then. :-)

dbaron commented 12 years ago

(And boy, I guess I should have closed the pull request before messing with the repository.)