]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/browse.js
Revert "Don't pass the locale to the Mapzen routing engine"
[rails.git] / app / assets / javascripts / index / browse.js
index 5db23a975f5d8bebee6e29f54f5edca31d6056ef..28a830858f2534168629fb1f86385b0d19285a69 100644 (file)
@@ -1,4 +1,4 @@
-function initializeBrowse(map) {
+OSM.initializeBrowse = function (map) {
   var browseBounds;
   var selectedLayer;
   var dataLayer = map.dataLayer;
@@ -127,4 +127,4 @@ function initializeBrowse(map) {
     // Stash the currently drawn feature
     selectedLayer = layer;
   }
-}
+};