<p>Eliminate interpolation in edit JS, move it to page-specific script file,<br>
then inline search-related JS.</p>

<hr>

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

<h4>Commit Summary</h4>
<ul>
  <li>Eliminate interpolation in edit JS</li>
  <li>Move edit JS to page-specific script file</li>
  <li>Clean up search JS</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li><strong>A</strong> app/assets/javascripts/edit.js (43)</li>
  <li><strong>M</strong> app/assets/javascripts/index.js (20)</li>
  <li><strong>M</strong> app/views/site/_search.html.erb (30)</li>
  <li><strong>M</strong> app/views/site/edit.html.erb (39)</li>
  <li><strong>M</strong> config/environments/production.rb (2)</li>
  <li><strong>M</strong> config/i18n-js.yml (1)</li>
</ul>

<h4>Patch Links</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/110.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/110.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/110.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/110.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/110'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/Jtbb9ZcUyh_ochZqP_iTPx9WGdbL-zNAdqYc5MWc9z-glM6VwzIEQ9b1rvQgKY4B.gif' height='1' width='1'>