tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.12k stars 527 forks source link

Deprecated event spams console logs #1616

Open gravitystorm opened 12 years ago

gravitystorm commented 12 years ago

I'm trying to bughunt in master, but the console is chock full of

\ Message: console message: @0: event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

It would be great if these were fixed, so that I can see the rest of the logs!

Ubuntu 12.04 / Tilemill f76662a33883 (master today) / node v0.8.4

springmeyer commented 12 years ago

It appears this can be fixed by using JQuery 1.7: http://stackoverflow.com/a/7831252/1599221. TileMill itself does not directly use jQuery, but rather the bones application framework does: https://github.com/developmentseed/bones/blob/master/package.json#L18

TileMill is currently pinned to the 1.3 branch of bones for compatibility reasons I'm not very familiar with, but hopefully this upgrade can happen soon. /cc @yhahn