Sha256: 747bf20ad4d1fcf7653bfb249799d4a1d0d151e7e028f69c0e77f7bdb38c0182
Contents?: true
Size: 592 Bytes
Versions: 5
Compression:
Stored size: 592 Bytes
Contents
var $meetings = $('#meetings'); var $meetingsCount = $('#meetings-count'); $meetings.html('<%= j(render partial: "meetings").strip.html_safe %>'); $meetingsCount.html('<%= j(render partial: "count").strip.html_safe %>'); var $dropdownMenu = $('.dropdown.menu', $meetings); $dropdownMenu.foundation(); var markerData = JSON.parse('<%= escape_javascript meetings_data_for_map(search.results.select(&:geocoded?)).to_json.html_safe %>'); var $map = $("#map"); var controller = $map.data("map-controller"); if (controller) { controller.clearMarkers(); controller.addMarkers(markerData); }
Version data entries
5 entries across 5 versions & 1 rubygems