Update iD, set locale

This commit is contained in:
John Firebaugh
2013-05-03 11:06:16 -07:00
parent cfbb80d2d4
commit 3da2a95cea
29 changed files with 2221 additions and 330 deletions

3
lib/id.rb Normal file
View File

@ -0,0 +1,3 @@
module ID
LOCALES = Rails.root.join('vendor/assets/iD/iD/locales').entries.map {|p| p.basename.to_s[/(.*).json/] && $1 }.compact
end