o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1318515873.1462021[`: @value{I" class:EFI"BundledAsset; FI"id; F"%22be3bcd87c19355fb91e7ef0e63e4b2I"logical_path; FI"medivo/models.js; FI" pathname; FI"c/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/models.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2011-10-13T16:23:54+02:00; FI" body; 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); ; TI"asset_paths; F[I"c/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/models.coffee; FI"dependency_paths; F[{I" path; FI"c/Users/danielsudol/projects/medivo/medivo_resource/app/assets/javascripts/medivo/models.coffee; FI" mtime; FIu: Time ®å€`_: @_zoneI" CEST; T: offseti I"hexdigest; F"%9ab86a68c7584a4258da5257b5b3f2a7I" _version; F"%4cb2ee12166a4b69b8fba75205972b7a