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
from 'git://github.com/jfirebaugh/leaflet-osm.git' do
file 'leaflet.osm.js', 'leaflet-osm.js'
end
+
+ from 'git://github.com/jieter/Leaflet.encoded.git' do
+ file 'leaflet.polyline.js', 'Polyline.encoded.js'
+ end
end
folder 'ohauth' 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