src/application.js
/**
 * Fill in the address input with the example
 */
Fill in the address input with the example
Fill in the address input with the example
function onClickExampleLink (e) {
  e.preventDefault()
  var address = $('#example-link').text()
  $('#input-location').val(address)
}
function onClickExampleLink ( e ) { e . preventDefault ( ) var address = $ ( '#example-link' ) . text ( ) $ ( '#input-location' ) . val ( address ) }
Fill in the address input with the example
Fill in the address input with the example