[openstreetmap-website] code simplification for https assets (#700)

Tom Hughes notifications at github.com
Wed Feb 12 12:35:43 UTC 2014


I choose to do it that deliberately so that it defaults to `http` if you are loading from a `file://` URL.

That is vendored code anyway, so any issue should be upstream at https://github.com/jfirebaugh/leaflet-osm but not that making the change you suggest will cause a test failure precisely because the tests are loading from a `file:` URL.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/700#issuecomment-34864418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140212/07dc788e/attachment.html>


More information about the rails-dev mailing list