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

John Firebaugh notifications at github.com
Sun Aug 26 16:30:05 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

[`@cc_on`](http://en.wikipedia.org/wiki/Conditional_comment#Conditional_comments_in_JScript) is the script equivalent of `<!--[if IE]>`.

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


More information about the rails-dev mailing list