Merge pull request #1037 from simon04/leaflet-1.5

leaflet: add versions 1.4 and 1.5
pull/982/head
Jasper van Merle 6 years ago
commit 1b6cb0e659

@ -398,7 +398,7 @@ credits = [
'https://raw.githubusercontent.com/laravel/framework/master/LICENSE.txt'
], [
'Leaflet',
'2010-2018 Vladimir Agafonkin<br>&copy; 2010-2011, CloudMade<br>Maps &copy; OpenStreetMap contributors.',
'2010-2019 Vladimir Agafonkin<br>&copy; 2010-2011, CloudMade<br>Maps &copy; OpenStreetMap contributors.',
'BSD',
'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE'
], [

@ -14,11 +14,21 @@ module Docs
options[:skip_links] = true
options[:attribution] = <<-HTML
&copy; 2010&ndash;2018 Vladimir Agafonkin<br>
&copy; 2010&ndash;2019 Vladimir Agafonkin<br>
&copy; 2010&ndash;2011, CloudMade<br>
Maps &copy; OpenStreetMap contributors.
HTML
version '1.5' do
self.release = '1.5.0'
self.base_url = "https://leafletjs.com/reference-#{release}.html"
end
version '1.4' do
self.release = '1.4.0'
self.base_url = "https://leafletjs.com/reference-#{release}.html"
end
version '1.3' do
self.release = '1.3.4'
self.base_url = "https://leafletjs.com/reference-#{release}.html"

Loading…
Cancel
Save