Make sure all leaflet images are loaded through the asse pipeline
[rails.git] / Vendorfile
1 folder 'vendor/assets' do
2   folder 'leaflet' do
3     from 'https://github.com/CloudMade/Leaflet.git' 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'
8     end
9
10     from 'https://github.com/tripbirds/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'
14     end
15
16     from 'https://github.com/kartena/Leaflet.Pancontrol.git' do
17       file 'leaflet.pan.js', 'src/L.Control.Pan.js'
18     end
19
20     from 'https://github.com/kartena/Leaflet.zoomslider.git' do
21       file 'leaflet.zoom.js', 'src/L.Control.Zoomslider.js'
22     end
23
24     from 'https://github.com/jfirebaugh/leaflet-osm.git' do
25       file 'leaflet.osm.js', 'leaflet-osm.js'
26     end
27   end
28 end