1 folder 'vendor/assets' do
 
   3     from 'git://github.com/Leaflet/Leaflet.git', :tag => 'v0.5' do
 
   4       file 'leaflet.css', 'dist/leaflet.css'
 
   5       file 'leaflet.ie.css', 'dist/leaflet.ie.css'
 
   6       file 'leaflet.js', 'dist/leaflet-src.js'
 
   7       folder 'images', 'dist/images'
 
  10     from 'git://github.com/kajic/leaflet-locationfilter.git' do
 
  11       file 'leaflet.locationfilter.css', 'src/locationfilter.css'
 
  12       file 'leaflet.locationfilter.js', 'src/locationfilter.js'
 
  13       folder 'img', 'src/img'
 
  16     from 'git://github.com/kartena/Leaflet.Pancontrol.git' do
 
  17       file 'leaflet.pan.js', 'src/L.Control.Pan.js'
 
  20     from 'git://github.com/kartena/Leaflet.zoomslider.git' do
 
  21       file 'leaflet.zoom.js', 'src/L.Control.Zoomslider.js'
 
  24     from 'git://github.com/jfirebaugh/leaflet-osm.git' do
 
  25       file 'leaflet.osm.js', 'leaflet-osm.js'
 
  30     from 'git://github.com/jevin/Autogrow-Textarea.git' do
 
  31       file 'jquery.autogrowtextarea.js', 'jquery.autogrowtextarea.js'
 
  36     from 'git://github.com/osmlab/ohauth.git' do
 
  42     from 'git://github.com/systemed/iD', :branch => '1-0-stable' do
 
  43       folder 'iD/img', 'dist/img'
 
  44       folder 'iD/locales', 'dist/locales'
 
  45       file 'iD.css.erb', 'dist/iD.css' do |path|
 
  46         rewrite(path) { |content| content.gsub(/url\('?(img\/[^')]+)'?\)/, 'url(<%= asset_path("iD/\1") %>)') }
 
  48       file 'iD.js', 'dist/iD.js'