From cfcf0311d153fdb87a4789093f4d5fdb27b08443 Mon Sep 17 00:00:00 2001 From: Paul Cochrane Date: Thu, 28 Nov 2019 15:27:55 +0100 Subject: [PATCH] Reflect multi-version compatibility in source file names This change implements the suggestion mentioned in #156 to rename the source files from `ol3` to simply `ol` so as to reflect the compatibility from OpenLayers 3 up to and including OpenLayers 6. The example file as well as the documentation have been updated to be consistent with the filename generalisation. --- README.md | 6 +++--- bower.json | 4 ++-- css/{ol3-sidebar.css => ol-sidebar.css} | 0 css/{ol3-sidebar.min.css => ol-sidebar.min.css} | 0 doc/{ol3-1.png => ol-1.png} | Bin doc/{ol3-2.png => ol-2.png} | Bin examples/{ol3.html => ol.html} | 4 ++-- js/{ol3-sidebar.js => ol-sidebar.js} | 0 js/{ol3-sidebar.min.js => ol-sidebar.min.js} | 0 scss/{ol3-sidebar.scss => ol-sidebar.scss} | 0 10 files changed, 7 insertions(+), 7 deletions(-) rename css/{ol3-sidebar.css => ol-sidebar.css} (100%) rename css/{ol3-sidebar.min.css => ol-sidebar.min.css} (100%) rename doc/{ol3-1.png => ol-1.png} (100%) rename doc/{ol3-2.png => ol-2.png} (100%) rename examples/{ol3.html => ol.html} (98%) rename js/{ol3-sidebar.js => ol-sidebar.js} (100%) rename js/{ol3-sidebar.min.js => ol-sidebar.min.js} (100%) rename scss/{ol3-sidebar.scss => ol-sidebar.scss} (100%) diff --git a/README.md b/README.md index ff6305d..305ed93 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,11 @@ It is more or less a successor of the [leaflet-sidebar](https://github.com/turbo Example code at [`examples/index.html`](examples/index.html) ([Preview](http://turbo87.github.io/sidebar-v2/examples/index.html)) -## [OpenLayers 3](http://openlayers.org/) +## [OpenLayers 3+](http://openlayers.org/) -![Sidebar collapsed](doc/ol3-1.png) ![Sidebar extended](doc/ol3-2.png) +![Sidebar collapsed](doc/ol-1.png) ![Sidebar extended](doc/ol-2.png) -Example code at [`examples/ol3.html`](examples/ol3.html) ([Preview](http://turbo87.github.io/sidebar-v2/examples/ol3.html)) +Example code at [`examples/ol.html`](examples/ol.html) ([Preview](http://turbo87.github.io/sidebar-v2/examples/ol.html)) ## [OpenLayers 2](http://openlayers.org/two/) diff --git a/bower.json b/bower.json index f95d8f4..189de73 100644 --- a/bower.json +++ b/bower.json @@ -10,10 +10,10 @@ "css/gmaps-sidebar.css", "css/leaflet-sidebar.css", "css/ol2-sidebar.css", - "css/ol3-sidebar.css", + "css/ol-sidebar.css", "js/jquery-sidebar.js", "js/leaflet-sidebar.js", - "js/ol3-sidebar.js" + "js/ol-sidebar.js" ], "keywords": [ "gis", diff --git a/css/ol3-sidebar.css b/css/ol-sidebar.css similarity index 100% rename from css/ol3-sidebar.css rename to css/ol-sidebar.css diff --git a/css/ol3-sidebar.min.css b/css/ol-sidebar.min.css similarity index 100% rename from css/ol3-sidebar.min.css rename to css/ol-sidebar.min.css diff --git a/doc/ol3-1.png b/doc/ol-1.png similarity index 100% rename from doc/ol3-1.png rename to doc/ol-1.png diff --git a/doc/ol3-2.png b/doc/ol-2.png similarity index 100% rename from doc/ol3-2.png rename to doc/ol-2.png diff --git a/examples/ol3.html b/examples/ol.html similarity index 98% rename from examples/ol3.html rename to examples/ol.html index b052b1c..bf601c0 100644 --- a/examples/ol3.html +++ b/examples/ol.html @@ -8,7 +8,7 @@ - +