Skip to content

Commit 8917174

Browse files
committed
leaflet: add versions 1.4 and 1.5
1 parent eada92e commit 8917174

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ credits = [
398398
'https://raw.githubusercontent.com/laravel/framework/master/LICENSE.txt'
399399
], [
400400
'Leaflet',
401-
'2010-2018 Vladimir Agafonkin<br>&copy; 2010-2011, CloudMade<br>Maps &copy; OpenStreetMap contributors.',
401+
'2010-2019 Vladimir Agafonkin<br>&copy; 2010-2011, CloudMade<br>Maps &copy; OpenStreetMap contributors.',
402402
'BSD',
403403
'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE'
404404
], [

lib/docs/scrapers/leaflet.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,21 @@ class Leaflet < UrlScraper
1414
options[:skip_links] = true
1515

1616
options[:attribution] = <<-HTML
17-
&copy; 2010&ndash;2018 Vladimir Agafonkin<br>
17+
&copy; 2010&ndash;2019 Vladimir Agafonkin<br>
1818
&copy; 2010&ndash;2011, CloudMade<br>
1919
Maps &copy; OpenStreetMap contributors.
2020
HTML
2121

22+
version '1.5' do
23+
self.release = '1.5.0'
24+
self.base_url = "https://leafletjs.com/reference-#{release}.html"
25+
end
26+
27+
version '1.4' do
28+
self.release = '1.4.0'
29+
self.base_url = "https://leafletjs.com/reference-#{release}.html"
30+
end
31+
2232
version '1.3' do
2333
self.release = '1.3.4'
2434
self.base_url = "https://leafletjs.com/reference-#{release}.html"

0 commit comments

Comments
 (0)