Tidy up some recent commits:
authorTom Hughes <tom@compton.nu>
Sat, 27 Jun 2009 17:11:54 +0000 (17:11 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 27 Jun 2009 17:11:54 +0000 (17:11 +0000)
commite46c82fe3db59ce59206053a26d0207931f2f68a
tree7c485daa207c492494fd115a195b6ac8ff39dea7
parentd63f13c18dff0cf29e2dd9dd756fac8dba2f5e20
Tidy up some recent commits:
- Simplify shortlinkPrefix by removing redundant code.
- Factor out duplicate code for displaying objects on maps.
- Reindent some stuff to make it more readable.
app/views/browse/_map.html.erb
app/views/site/index.html.erb
public/javascripts/map.js
public/javascripts/site.js