Sha256: 067e57e833aa9a45dc08f0f31f0a7b75cab6deeaabd4345ad8d7f8d485bbc6cd
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
//= depend_on_asset "marker-icon-2x.png" //= depend_on_asset "marker-shadow.png" //= depend_on_asset "marker-icon.png" //= require leaflet-src <% icons = ['icon-2x.png', 'shadow.png', 'icon.png'] %> L.Icon.Default = L.Icon.Default.extend({ _getIconUrl: function (name) { var paths = <%= Hash[icons.map{|i| [i, asset_path('marker-' + i)]}].to_json %>; return paths[name + '.png']; }, _detectIconPath: function () { } });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
leaflet-rails-1.0.2 | vendor/assets/javascripts/leaflet.js.erb |
leaflet-rails-1.0.1 | vendor/assets/javascripts/leaflet.js.erb |
leaflet-rails-1.0.0 | vendor/assets/javascripts/leaflet.js.erb |