lib/adiwg/mdtranslator/writers/html/sections/html_body.rb in adiwg-mdtranslator-1.4.0.beta11 vs lib/adiwg/mdtranslator/writers/html/sections/html_body.rb in adiwg-mdtranslator-1.4.0.beta12
- old
+ new
@@ -251,11 +251,12 @@
end
end
@html.hr
#Load leaflet
- @html.link( :rel => 'stylesheet', :href => 'http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css')
- @html.script('', :src => 'http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js')
+ @html.link( :rel => 'stylesheet', :href => 'http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css')
+ @html.script('', :src => 'http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js')
+ @html.script('', :src => 'http://maps.stamen.com/js/tile.stamen.js?v1.3.0')
# add inline javascript
# read javascript from file
path = File.join(File.dirname(__FILE__), 'html_bodyScript.js')
file = File.open(path, 'r')