[openstreetmap-website] Port to Leaflet (#121)
Vladimir Agafonkin
notifications at github.com
Sun Nov 4 13:07:00 GMT 2012
> @@ -1,265 +1,204 @@
> -var epsg4326 = new OpenLayers.Projection("EPSG:4326");
> +// Leaflet extensions
> +L.LatLngBounds.include({
I'll consider including some of the methods, but actually I don't see anything wrong with extending classes like this. It's a very common practice in JavaScript and Ruby (unlike some other languages). E.g. all those thousands of jQuery plugins are done as jQuery object prototype extensions.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/121/files#r2024909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121104/50c69b70/attachment.html>
More information about the rails-dev
mailing list