1 folder 'vendor/assets' do
 
   3     file 'jquery.throttle-debounce.js', 'https://raw.github.com/cowboy/jquery-throttle-debounce/v1.1/jquery.ba-throttle-debounce.js'
 
   7     file 'bootstrap.tooltip.js', 'https://raw.github.com/twbs/bootstrap/v2.3.2/js/bootstrap-tooltip.js'
 
   8     file 'bootstrap.dropdown.js', 'https://raw.github.com/twbs/bootstrap/v2.3.2/js/bootstrap-dropdown.js'
 
  12     file 'leaflet.js', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet-src.js'
 
  13     file 'leaflet.css', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet.css'
 
  14     file 'leaflet.ie.css', 'http://cdn.leafletjs.com/leaflet-0.6.3/leaflet.ie.css'
 
  16     [ 'layers.png', 'layers-2x.png',
 
  17       'marker-icon.png', 'marker-icon-2x.png',
 
  18       'marker-shadow.png' ].each do |image|
 
  19       file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.6.3/images/#{image}"
 
  22     from 'git://github.com/kajic/leaflet-locationfilter.git' do
 
  23       file 'leaflet.locationfilter.css', 'src/locationfilter.css'
 
  24       file 'leaflet.locationfilter.js', 'src/locationfilter.js'
 
  25       folder 'img', 'src/img'
 
  28     from 'git://github.com/domoritz/leaflet-locatecontrol.git' do
 
  29       file 'leaflet.locate.js', 'src/L.Control.Locate.js'
 
  32     from 'git://github.com/jfirebaugh/leaflet-osm.git' do
 
  33       file 'leaflet.osm.js', 'leaflet-osm.js'
 
  36     from 'git://github.com/mlevans/leaflet-hash.git' do
 
  37       file 'leaflet.hash.js', 'leaflet-hash.js'
 
  42     from 'git://github.com/osmlab/ohauth.git' do
 
  48     from 'git://github.com/systemed/iD', :branch => 'release' do
 
  49       folder 'iD/img', 'dist/img'
 
  50       folder 'iD/locales', 'dist/locales'
 
  51       file 'iD.css.erb', 'dist/iD.css' do |path|
 
  52         rewrite(path) { |content| content.gsub(/url\('?(img\/[^')]+)'?\)/, 'url(<%= asset_path("iD/\1") %>)') }
 
  54       file 'iD.js', 'dist/iD.js'