[openstreetmap-website] Clean up user view JS (#118)

John Firebaugh notifications at github.com
Fri Oct 5 19:19:35 BST 2012

You can merge this Pull Request by running:

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

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


-- Commit Summary --

  * Remove unnecessary delete statement
  * Move user JS to page-specific script file
  * Use jQuery
  * Refactor to share friends/nearby variables
  * Introduce User#has_home?

-- File Changes --

M app/assets/javascripts/map.js.erb (1)
A app/assets/javascripts/user.js (43)
M app/models/user.rb (6)
D app/views/user/_map.html.erb (91)
M app/views/user/account.html.erb (19)
M app/views/user/view.html.erb (51)
M config/environments/production.rb (2)
M test/unit/user_test.rb (17)

-- Patch Links --


Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20121005/2b9291c2/attachment.html>

More information about the rails-dev mailing list