Skip to content

Commit

Permalink
Move to cdnjs to support https, fixes #163
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed Jun 6, 2015
1 parent b7c8691 commit a39d5c3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- Leaflet style. REQUIRED! -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
<style>
html { height: 100% }
body { height: 100%; margin: 0; padding: 0;}
Expand All @@ -26,7 +26,7 @@
</div>
<div id="map" class="map"></div>

<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet-src.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js"></script>
<script src="leaflet-providers.js"></script>
<script>
var map = L.map('map', {
Expand Down
4 changes: 2 additions & 2 deletions preview/index.html
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />

<style>
html {
Expand Down Expand Up @@ -77,7 +77,7 @@ <h4><a href="https://github.com/leaflet-extras/leaflet-providers">Leaflet-provid
</div>
<div id="map" class="map"></div>

<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet-src.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet-src.js"></script>
<script src="../leaflet-providers.js"></script>

<script src="L.Control.Layers.Minimap.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions preview/test-https-support.html
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />

<style>
html {
Expand Down Expand Up @@ -60,7 +60,7 @@ <h1>Testing provider protocols</h1>
</table>
<div id="maps"></div>

<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet-src.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet-src.js"></script>
<script src="../leaflet-providers.js"></script>

<script src="shared.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions tests/index.html
Expand Up @@ -3,7 +3,7 @@
<meta charset="utf-8">
<title>leaflet-poviders Mocha Tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />

<!--[if lte IE 8]>
<link rel="stylesheet" href="../node_modules/dist/leaflet.ie.css" />
Expand All @@ -22,7 +22,7 @@
<script src="../node_modules/chai/chai.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>

<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet-src.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet-src.js"></script>
<script src="../leaflet-providers.js"></script>
<script src="../preview/shared.js"></script>

Expand Down

0 comments on commit a39d5c3

Please sign in to comment.