1 folder 'vendor/assets' do
3 file 'jquery.cookie.js', 'https://raw.githubusercontent.com/carhartl/jquery-cookie/master/src/jquery.cookie.js'
4 file 'jquery.throttle-debounce.js', 'https://raw.githubusercontent.com/cowboy/jquery-throttle-debounce/v1.1/jquery.ba-throttle-debounce.js'
5 file 'jquery.simulate.js', 'https://raw.githubusercontent.com/jquery/jquery-simulate/1.0.0/jquery.simulate.js'
9 file 'bootstrap.tooltip.js', 'https://raw.githubusercontent.com/twbs/bootstrap/v3.3.2/js/tooltip.js'
10 file 'bootstrap.dropdown.js', 'https://raw.githubusercontent.com/twbs/bootstrap/v3.3.2/js/dropdown.js'
14 file 'leaflet.js', 'http://cdn.leafletjs.com/leaflet-0.7.3/leaflet-src.js'
15 file 'leaflet.css', 'http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css'
17 [ 'layers.png', 'layers-2x.png',
18 'marker-icon.png', 'marker-icon-2x.png',
19 'marker-shadow.png' ].each do |image|
20 file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.7.3/images/#{image}"
23 from 'git://github.com/aratcliffe/Leaflet.contextmenu.git' do
24 file 'leaflet.contextmenu.js', 'dist/leaflet.contextmenu.js'
25 file 'leaflet.contextmenu.css', 'dist/leaflet.contextmenu.css'
28 from 'git://github.com/kajic/leaflet-locationfilter.git' do
29 file 'leaflet.locationfilter.css', 'src/locationfilter.css'
30 file 'leaflet.locationfilter.js', 'src/locationfilter.js'
31 folder 'img', 'src/img'
34 from 'git://github.com/domoritz/leaflet-locatecontrol.git' do
35 file 'leaflet.locate.js', 'src/L.Control.Locate.js'
38 from 'git://github.com/jfirebaugh/leaflet-osm.git' do
39 file 'leaflet.osm.js', 'leaflet-osm.js'
42 from 'git://github.com/jieter/Leaflet.encoded.git' do
43 file 'leaflet.polyline.js', 'Polyline.encoded.js'
48 from 'git://github.com/osmlab/ohauth.git' do
54 from 'git://github.com/openstreetmap/iD', :branch => 'release' do
55 folder 'iD/img', 'dist/img'
56 folder 'iD/locales', 'dist/locales'
57 file 'iD.css.erb', 'dist/iD.css' do |path|
58 rewrite(path) { |content| content.gsub(/url\('?(img\/[^')]+)'?\)/, 'url(<%= asset_path("iD/\1") %>)') }
60 file 'iD.js', 'dist/iD.js'
61 file 'presets.js', 'dist/presets.js'
62 file 'imagery.js', 'dist/imagery.js'
66 folder 'javascripts' do
67 file 'html5shiv.js', 'https://raw.githubusercontent.com/aFarkas/html5shiv/master/src/html5shiv.js'