]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/osm.js.erb
Merge remote-tracking branch 'upstream/pull/2509'
[rails.git] / app / assets / javascripts / osm.js.erb
index 205dae0d145358f4f621f8cd9881bb4a76370ab4..391ba64ef6a63c91ee055cc537d6fb83c8dfc10c 100644 (file)
@@ -1,5 +1,6 @@
 //= depend_on settings.yml
 //= depend_on settings.local.yml
+//= require querystring
 
 OSM = {
 <% if defined?(PIWIK) %>
@@ -138,7 +139,8 @@ OSM = {
   },
 
   parseHash: function(hash) {
-    var args = {};
+    var querystring = require("querystring-component"),
+        args = {};
 
     var i = hash.indexOf('#');
     if (i < 0) {