todo: refactor translate stuff

This commit is contained in:
Mourner 2011-01-10 16:22:07 +02:00
parent e15aa29f06
commit 2e2e502d2d

View File

@ -30,6 +30,9 @@ L.DomUtil = {
return new L.Point(left, top);
},
//TODO refactor away this ugly translate/position mess
TRANSLATE_OPEN: 'translate' + (L.Browser.webkit3d ? '3d(' : '('),
TRANSLATE_CLOSE: L.Browser.webkit3d ? ',0)' : ')',