<hr>

<h4>You can merge this Pull Request by running:</h4>
<pre>  git pull https://github.com/jfirebaugh/openstreetmap-website js</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/118'>https://github.com/openstreetmap/openstreetmap-website/pull/118</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Remove unnecessary delete statement</li>
  <li>Move user JS to page-specific script file</li>
  <li>Use jQuery</li>
  <li>Refactor to share friends/nearby variables</li>
  <li>Introduce User#has_home?</li>
</ul>

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

<h4>Patch Links</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/118.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/118.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/118.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/118.diff</a></li>
</ul>


            <p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
              —<br>
              Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/118'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/J6T91GIPIyhU-8ti4GCGP98_UZTRAhtyIjAjorWDZ_kYJZyAit4WS2OHo4TJ3yOS.gif' height='1' width='1'>