X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8adb0846b4834e393eafc68406b5391d7881da83..0fa051fb40d30978325679bcfec2d128cc15e9e5:/Vendorfile diff --git a/Vendorfile b/Vendorfile index 7da31ce46..6826e8e16 100644 --- a/Vendorfile +++ b/Vendorfile @@ -6,8 +6,8 @@ folder 'vendor/assets' do end folder 'bootstrap' do - file 'bootstrap.tooltip.js', 'https://raw.githubusercontent.com/twbs/bootstrap/v2.3.2/js/bootstrap-tooltip.js' - file 'bootstrap.dropdown.js', 'https://raw.githubusercontent.com/twbs/bootstrap/v2.3.2/js/bootstrap-dropdown.js' + file 'bootstrap.tooltip.js', 'https://raw.githubusercontent.com/twbs/bootstrap/v3.3.2/js/tooltip.js' + file 'bootstrap.dropdown.js', 'https://raw.githubusercontent.com/twbs/bootstrap/v3.3.2/js/dropdown.js' end folder 'leaflet' do @@ -20,6 +20,11 @@ folder 'vendor/assets' do file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.7.3/images/#{image}" end + from 'git://github.com/aratcliffe/Leaflet.contextmenu.git' do + file 'leaflet.contextmenu.js', 'dist/leaflet.contextmenu.js' + file 'leaflet.contextmenu.css', 'dist/leaflet.contextmenu.css' + end + from 'git://github.com/kajic/leaflet-locationfilter.git' do file 'leaflet.locationfilter.css', 'src/locationfilter.css' file 'leaflet.locationfilter.js', 'src/locationfilter.js' @@ -53,6 +58,8 @@ folder 'vendor/assets' do rewrite(path) { |content| content.gsub(/url\('?(img\/[^')]+)'?\)/, 'url(<%= asset_path("iD/\1") %>)') } end file 'iD.js', 'dist/iD.js' + file 'presets.js', 'dist/presets.js' + file 'imagery.js', 'dist/imagery.js' end end