* a new search causes a new pageview
* webpack or grunt build framework
* don't copy jquery/leaflet in /src, use dependency manager instead, e.g. https://bower.io/
-* update leaflet
* add tests with fixtures
* concatenate/minify JS and CSS
var api_request_params = {
place_id: search_params.get('place_id'),
- place_id: search_params.get('osmtype'),
- place_id: search_params.get('osmid'),
+ osmtype: search_params.get('osmtype'),
+ osmid: search_params.get('osmid'),
group_parents: 1,
format: 'json'
};
<span class="type">{{formatLabel aResult}}</span>
<p class="coords">{{aResult.lat}},{{aResult.lon}}</p>
- <a class="btn btn-default btn-xs details" href="details?place_id={{aResult.place_id}}">details</a>
+ <a class="btn btn-default btn-xs details" href="details.html?place_id={{aResult.place_id}}">details</a>
</div>
{{/inline}}
<span class="type">{{formatLabel aResult}}</span>
<p class="coords">{{aResult.lat}},{{aResult.lon}}</p>
- <a class="btn btn-default btn-xs details" href="details?place_id={{aResult.place_id}}">details</a>
+ <a class="btn btn-default btn-xs details" href="details.html?place_id={{aResult.place_id}}">details</a>
</div>
{{/inline}}