spec/dummy/tmp/cache/assets/development/sprockets/1575b3a4a178623381cdd55596cd8bc7 in family_gallery-0.0.3 vs spec/dummy/tmp/cache/assets/development/sprockets/1575b3a4a178623381cdd55596cd8bc7 in family_gallery-0.0.4

- old
+ new

@@ -1,8 +1,10 @@ {I" class:ETI"BundledAsset;FI"logical_path;TI""family_gallery/application.js;TI" pathname;TI"h/media/storage/Dev/Rails/family_gallery/app/assets/javascripts/family_gallery/application.js.coffee;FI"content_type;TI"application/javascript;TI" -mtime;Tl+ÌkôTI" length;Ti‡ŸI" digest;TI"%d19272564c7cc308014fe61db0c3c64c;FI" source;TI"‡Ÿ/*! +mtime;Tl+IÊöTI" length;Ti +£I" digest;TI"%720c559806445d06118359b674865cd3;FI" source;TI" +£/*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ @@ -10780,15 +10782,16 @@ }); }).call(this); (function() { $(function() { + var init_map, map_container; if ($("body.controller_pictures").length === 0) { return; } if ($("body.action_show").length > 0) { - return $(".tagged-users-list .link-to-user").hover(function() { + $(".tagged-users-list .link-to-user").hover(function() { var tagged_user, user_id, user_link; user_link = $(this); user_id = user_link.data("user-id"); tagged_user = $(".tagged-user-" + user_id); return tagged_user.fadeIn("fast"); @@ -10797,10 +10800,30 @@ user_link = $(this); user_id = user_link.data("user-id"); tagged_user = $(".tagged-user-" + user_id); return tagged_user.fadeOut("fast"); }); + map_container = $("#map-canvas"); + if (map_container.length > 0) { + init_map = function() { + var google_map, latitude, longitude, map_options, marker, position_latlng; + latitude = parseFloat(map_container.data("latitude")); + longitude = parseFloat(map_container.data("longitude")); + position_latlng = new google.maps.LatLng(latitude, longitude); + map_options = { + zoom: 10, + center: position_latlng, + mapTypeId: google.maps.MapTypeId.ROADMAP + }; + google_map = new google.maps.Map(document.getElementById('map-canvas'), map_options); + return marker = new google.maps.Marker({ + position: position_latlng, + map: google_map + }); + }; + return google.maps.event.addDomListener(window, "load", init_map); + } } }); }).call(this); (function() { @@ -10841,6 +10864,6 @@ }).call(this); (function() { }).call(this); -;TI"required_assets_digest;TI"%8660f84abe18b577455d24036ca9dc7d;FI" _version;TI"%7015acab0e7ee10d673b8d49cecfb54b;F +;TI"required_assets_digest;TI"%fe181a2b679e7c0c6c3a3df9b4a066a7;FI" _version;TI"%7015acab0e7ee10d673b8d49cecfb54b;F \ No newline at end of file