]> git.openstreetmap.org Git - rails.git/blob - app/assets/javascripts/globals.js.erb
Merge branch 'master' into openstreetbugs
[rails.git] / app / assets / javascripts / globals.js.erb
1 OSM = {
2 <% if defined?(PIWIK_LOCATION) and defined?(PIWIK_SITE) %>
3   PIWIK_LOCATION:   <%= PIWIK_LOCATION.to_json %>,
4   PIWIK_SITE:       <%= PIWIK_SITE.to_json %>,
5 <% end %>
6   MAX_REQUEST_AREA: <%= MAX_REQUEST_AREA.to_json %>,
7   SERVER_URL:       <%= SERVER_URL.to_json %>,
8   API_VERSION:      <%= API_VERSION.to_json %>
9 };