]> 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 0f1b2b8ce8a236fa46a38edd7ec7bec811ba301b..3c3bd92a7e83bafbffb6f7aaf2e50b2aeb69e79c 100644 (file)
@@ -1,4 +1,8 @@
 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 %>,
   API_VERSION:      <%= API_VERSION.to_json %>