From 6d1cc3ba881c3d404d355a85c5874815ef6c632d Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 10 Oct 2018 15:11:07 +0200 Subject: [PATCH] Use unpkg.com instead of rawgit.com --- examples/device-orientation.html | 2 +- examples/jsts.html | 2 +- examples/resources/mapbox-streets-v6-style.js | 2 +- examples/topolis.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/device-orientation.html b/examples/device-orientation.html index 1b1a3d87c4..02ae67bf07 100644 --- a/examples/device-orientation.html +++ b/examples/device-orientation.html @@ -8,7 +8,7 @@ docs: > normalize the events from the browser. tags: "device, orientation, gyronorm" resources: - - https://cdn.rawgit.com/dorukeker/gyronorm.js/v2.0.6/dist/gyronorm.complete.min.js + - https://unpkg.com/gyronorm@2.0.6/dist/gyronorm.complete.min.js ---

diff --git a/examples/jsts.html b/examples/jsts.html index 937e08a818..bb6db6f424 100644 --- a/examples/jsts.html +++ b/examples/jsts.html @@ -7,6 +7,6 @@ docs: > with OpenLayers. tags: "vector, jsts, buffer" resources: - - https://cdn.rawgit.com/bjornharrtell/jsts/gh-pages/1.6.0/jsts.min.js + - https://unpkg.com/jsts@2.0.2/dist/jsts.min.js ---

diff --git a/examples/resources/mapbox-streets-v6-style.js b/examples/resources/mapbox-streets-v6-style.js index c19a63be25..eb9b496c87 100644 --- a/examples/resources/mapbox-streets-v6-style.js +++ b/examples/resources/mapbox-streets-v6-style.js @@ -15,7 +15,7 @@ function createMapboxStreetsV6Style(Style, Fill, Stroke, Icon, Text) { var icon = iconCache[iconName]; if (!icon) { icon = new Style({image: new Icon({ - src: 'https://cdn.rawgit.com/mapbox/maki/master/icons/' + iconName + '-15.svg', + src: 'https://unpkg.com/@mapbox/maki@4.0.0/icons/' + iconName + '-15.svg', imgSize: [15, 15] })}); iconCache[iconName] = icon; diff --git a/examples/topolis.html b/examples/topolis.html index cb02eb4ce3..396d380ba0 100644 --- a/examples/topolis.html +++ b/examples/topolis.html @@ -7,7 +7,7 @@ docs: > with OpenLayers, enabling creating and editing topological geometry. Standard interaction draws edges, snapping to existing edges. Delete an edge by drawing a new edge crossing the one to delete. tags: "draw, edit, vector, topology, topolis" resources: - - https://cdn.rawgit.com/bjornharrtell/topolis/releases/0.1.1/topolis.min.js + - https://unpkg.com/topolis@0.2.5/dist/topolis.js - https://code.jquery.com/jquery-3.1.1.min.js - https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.3/toastr.min.js - https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.3/toastr.min.css