[openstreetmap-website] Clean up edit and search JS (#110)

John Firebaugh notifications at github.com
Sat Sep 29 18:45:08 BST 2012


Eliminate interpolation in edit JS, move it to page-specific script file,
then inline search-related JS.

You can merge this Pull Request by running:

  git pull https://github.com/jfirebaugh/openstreetmap-website edit_js

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/110

-- Commit Summary --

  * Eliminate interpolation in edit JS
  * Move edit JS to page-specific script file
  * Clean up search JS

-- File Changes --

A app/assets/javascripts/edit.js (43)
M app/assets/javascripts/index.js (20)
M app/views/site/_search.html.erb (30)
M app/views/site/edit.html.erb (39)
M config/environments/production.rb (2)
M config/i18n-js.yml (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/110.patch
https://github.com/openstreetmap/openstreetmap-website/pull/110.diff


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120929/db81cb3a/attachment.html>


More information about the rails-dev mailing list