Update iD container to support iD 1.7.0
This commit is contained in:
parent
59a5b6d1c6
commit
eb61cc614f
2 changed files with 6 additions and 1 deletions
|
@ -1 +1,3 @@
|
|||
//= require iD
|
||||
//= require presets
|
||||
//= require imagery
|
||||
|
|
|
@ -19,8 +19,11 @@
|
|||
<% locale = select_locale(ID::LOCALES).to_s %>
|
||||
|
||||
var id = iD()
|
||||
.presets(iD.data.presets)
|
||||
.imagery(iD.data.imagery)
|
||||
.taginfo(iD.taginfo())
|
||||
.embed(true)
|
||||
.assetPath("/iD/") <%# Can't use asset_path('iD/') in production. %>
|
||||
.assetPath("/iD/") <%# Cant use asset_path('iD/') in production. %>
|
||||
.assetMap(<%= assets("iD").to_json.html_safe %>)
|
||||
.locale("<%= locale %>", "<%= asset_path("iD/locales/#{locale}.json") %>")
|
||||
.preauth({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue