o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1318515873.165117‘G: @value{ I" length:EFiÀI" digest; F"%0a5e0a90c5cb5f440696ed4f099515d5I" source; FI"À(function() { window.Lab = (function() { function Lab(data) { this.data = data; } Lab.prototype.marker = null; Lab.prototype.map_tooltip_template = Handlebars.compile("{{name}}\n{{address}}\n{{city}},{{state}} "); Lab.prototype.clearMarker = function() { if (this.marker) { this.marker.setMap(null); return this.marker = null; } }; Lab.prototype.setMarker = function(map, markerBounds) { this.point = new google.maps.LatLng(this.data.lat, this.data.lng); this.marker = this.makeMarker(map); if (markerBounds) { return markerBounds.extend(this.point); } }; Lab.prototype.makeMarker = function(map) { return new google.maps.Marker({ position: this.point, map: map, title: this.map_tooltip_template(this.data), icon: this.makeIcon() }); }; Lab.prototype.makeIcon = function() { return new google.maps.MarkerImage("/assets/medivo/lab.png"); }; return Lab; })(); window.LabList = (function() { function LabList(data) { var labs; this.data = data; labs = this.labs = []; $.each(this.data, function(index, lab_data) { return labs.push(new Lab(lab_data)); }); } LabList.prototype.clearMarkers = function() { return $.each(this.labs, function(index, lab) { return lab.clearMarker(); }); }; return LabList; })(); }).call(this); ; FI" _version; F"%22be3bcd87c19355fb91e7ef0e63e4b2