Update iD container to support iD 1.7.0

This commit is contained in:
Bryan Housel 2015-02-12 05:57:12 -05:00
parent 59a5b6d1c6
commit eb61cc614f
2 changed files with 6 additions and 1 deletions

View file

@ -1 +1,3 @@
//= require iD
//= require presets
//= require imagery

View file

@ -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({