]> git.openstreetmap.org Git - rails.git/blobdiff - Vendorfile
Implmented diary submit label changing depending on if new or editing
[rails.git] / Vendorfile
index 6468d506745b675f06103faad2dbe0aa43a34516..ae46dc171c02a6958823e7fd9580ee829f7a2b31 100644 (file)
@@ -33,6 +33,10 @@ folder 'vendor/assets' 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
@@ -49,6 +53,8 @@ folder 'vendor/assets' 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