[openstreetmap-website] Convert {browse, export}/start.js.erb to static assets (#73)

Tom Hughes notifications at github.com
Sun Aug 26 10:52:54 BST 2012


> @@ -225,6 +225,21 @@ function loadData(url, reload) {
>  
>      if (browseDataLayer) browseDataLayer.destroyFeatures();
>  
> +    /*
> +    Modern browsers are quite happy showing far more than 100 features in
> +    the data browser, so increase the limit to 2000 by default, but keep
> +    it restricted to 500 for IE8 and 100 for older IEs.
> +    */
> +    var maxFeatures = 2000;
> +
> +    /*@cc_on

How does this work if it's commented out? What is the `@cc_on` all about anyway?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/73/files#r1460710
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120826/0077c75c/attachment.html>


More information about the rails-dev mailing list