]> git.openstreetmap.org Git - rails.git/commitdiff
Remove old traffico mapillary signs library from Vendorfile
authorBryan Housel <bryan@mapbox.com>
Mon, 12 Jun 2017 15:22:53 +0000 (11:22 -0400)
committerBryan Housel <bryan@mapbox.com>
Mon, 12 Jun 2017 15:22:53 +0000 (11:22 -0400)
Vendorfile

index 304be9e15de2ae9d92a8d237cb7281e36e3a0068..2a17ef8b99764639470bef0e92f1c7027a95dc33 100644 (file)
@@ -54,7 +54,6 @@ folder 'vendor/assets' do
     from 'git://github.com/openstreetmap/iD', :branch => 'release' do
       folder 'iD/img', 'dist/img'
       folder 'iD/locales', 'dist/locales'
-      folder 'iD/traffico', 'dist/traffico'
       folder 'iD/mapillary-js', 'dist/mapillary-js'
 
       file 'iD.css.erb', 'dist/iD.css' do |path|
@@ -63,14 +62,6 @@ folder 'vendor/assets' do
         end
       end
 
-      file 'iD/traffico/stylesheets/traffico.css.erb', 'dist/traffico/stylesheets/traffico.css' do |path|
-        rewrite(path) do |content|
-          content.gsub(/url\("?\.\.\/([^#?")]+)([^"]*)"?\)/, 'url(<%= asset_path("iD/traffico/\1") %>\2)')
-        end
-      end
-
-      File.delete('vendor/assets/iD/iD/traffico/stylesheets/traffico.css')
-
       file 'iD.js', 'dist/iD.js'
     end
   end