From 2e2e502d2d0a45fb7f994bf3f52b21a28a32bdd3 Mon Sep 17 00:00:00 2001 From: Mourner Date: Mon, 10 Jan 2011 16:22:07 +0200 Subject: [PATCH] todo: refactor translate stuff --- src/dom/DomUtil.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dom/DomUtil.js b/src/dom/DomUtil.js index d43732cf..1754f75e 100644 --- a/src/dom/DomUtil.js +++ b/src/dom/DomUtil.js @@ -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)' : ')',