]> git.openstreetmap.org Git - rails.git/commitdiff
Move leaflet.contextmenu 3rd party code to "vendor" folder
authorDan Stowell <danstowell@users.sourceforge.net>
Mon, 17 Aug 2015 07:55:48 +0000 (08:55 +0100)
committerDan Stowell <danstowell@users.sourceforge.net>
Mon, 17 Aug 2015 07:55:48 +0000 (08:55 +0100)
Vendorfile
vendor/assets/leaflet/leaflet.contextmenu.css [moved from app/assets/stylesheets/leaflet.contextmenu.css with 100% similarity]
vendor/assets/leaflet/leaflet.contextmenu.js [moved from app/assets/javascripts/leaflet.contextmenu.js with 100% similarity]

index 097f557aadd317993c677458e3f2d7231bf72ae4..6826e8e16a175fd29d16272bab139c13e957d420 100644 (file)
@@ -20,6 +20,11 @@ folder 'vendor/assets' do
       file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.7.3/images/#{image}"
     end
 
       file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.7.3/images/#{image}"
     end
 
+    from 'git://github.com/aratcliffe/Leaflet.contextmenu.git' do
+      file 'leaflet.contextmenu.js', 'dist/leaflet.contextmenu.js'
+      file 'leaflet.contextmenu.css', 'dist/leaflet.contextmenu.css'
+    end
+
     from 'git://github.com/kajic/leaflet-locationfilter.git' do
       file 'leaflet.locationfilter.css', 'src/locationfilter.css'
       file 'leaflet.locationfilter.js', 'src/locationfilter.js'
     from 'git://github.com/kajic/leaflet-locationfilter.git' do
       file 'leaflet.locationfilter.css', 'src/locationfilter.css'
       file 'leaflet.locationfilter.js', 'src/locationfilter.js'