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