Reduce interpolation in export/start.js.erb
This commit is contained in:
parent
7ad58d1411
commit
c2333c603e
3 changed files with 26 additions and 13 deletions
4
app/assets/javascripts/globals.js.erb
Normal file
4
app/assets/javascripts/globals.js.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
OSM = {
|
||||
MAX_REQUEST_AREA: <%= MAX_REQUEST_AREA.to_json %>,
|
||||
SERVER_URL: <%= SERVER_URL.to_json %>
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue