]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/globals.js.erb
Suppress any border on the logo
[rails.git] / app / assets / javascripts / globals.js.erb
index b4d2caf54eda05a6ba79c1f227730b1a0e9569d2..3c3bd92a7e83bafbffb6f7aaf2e50b2aeb69e79c 100644 (file)
@@ -1,4 +1,9 @@
 OSM = {
+<% if defined?(PIWIK_LOCATION) and defined?(PIWIK_SITE) %>
+  PIWIK_LOCATION:   <%= PIWIK_LOCATION.to_json %>,
+  PIWIK_SITE:       <%= PIWIK_SITE.to_json %>,
+<% end %>
   MAX_REQUEST_AREA: <%= MAX_REQUEST_AREA.to_json %>,
-  SERVER_URL:       <%= SERVER_URL.to_json %>
+  SERVER_URL:       <%= SERVER_URL.to_json %>,
+  API_VERSION:      <%= API_VERSION.to_json %>
 };