- [ 'layers.png', 'layers-2x.png',
- 'marker-icon.png', 'marker-icon-2x.png',
- 'marker-shadow.png' ].each do |image|
- file "images/#{image}", "http://cdn.leafletjs.com/leaflet-0.6.3/images/#{image}"
- end
+ folder 'leaflet' do
+ from 'https://github.com/aratcliffe/Leaflet.contextmenu.git', :tag => 'v1.5.1' do
+ file 'leaflet.contextmenu.js', 'dist/leaflet.contextmenu.js'
+ file 'leaflet.contextmenu.css', 'dist/leaflet.contextmenu.css'
+ end