{:uriI"file:///Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/assets/javascripts/pwb/paloma/sections.js?type=application/javascript&pipeline=self&id=43b5e2c6d4158e38363e97a53a92c136e177c6b323b5782aec56f00714f4b7bf:ET:load_pathI"D/Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/assets/javascripts;T: filenameI"[/Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/assets/javascripts/pwb/paloma/sections.js;T: nameI"pwb/paloma/sections;T:logical_pathI" pwb/paloma/sections.self.js;T:content_typeI"application/javascript;T: sourceI" var PwbSectionsController = Paloma.controller('Pwb/Sections'); PwbSectionsController.prototype.contact_us = function() { var currentItemForMap = this.params.current_agency_primary_address; // http://stackoverflow.com/questions/2647867/how-to-determine-if-variable-is-undefined-or-null // if (currentItemForMap == null) { if (!this.params.show_contact_map) { return; } if (typeof google === "undefined") { var self = this; window.map_callback = function() { INMOAPP.showMap(currentItemForMap); }; $.getScript('https://maps.googleapis.com/maps/api/js?key=AIzaSyCPorm8YzIaUGhKfe5cvpgofZ_gdT8hdZw&v=3.exp&sensor=false&callback=map_callback&libraries=places'); } else { INMOAPP.showMap(currentItemForMap); } }; var PwbPropertiesController = Paloma.controller('Pwb/Properties'); PwbPropertiesController.prototype.show = function() { // Below for properties slider // don't have something similar for main landing yet $(".carousel-inner .item").click(function () { var carouselStatus = $('#homepageCarousel').data('status'); if (carouselStatus && carouselStatus === "paused") { $('#homepageCarousel').carousel('cycle'); $('#homepageCarousel').data('status', "cycling"); } else{ $('#homepageCarousel').carousel('pause'); $('#homepageCarousel').data('status', "paused"); } }); var currentItemForMap = this.params.property_details; if (typeof google === "undefined") { var self = this; window.map_callback = function() { INMOAPP.showMap(currentItemForMap); }; $.getScript('https://maps.googleapis.com/maps/api/js?key=AIzaSyCPorm8YzIaUGhKfe5cvpgofZ_gdT8hdZw&v=3.exp&sensor=false&callback=map_callback&libraries=places'); } else { INMOAPP.showMap(currentItemForMap); } }; ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"ifile-digest:///Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/assets/javascripts/pwb/paloma/sections.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%̠1h(ԸCQu6': lengthi :dependencies_digest"%3K >K`;W4o"X:idI"E43b5e2c6d4158e38363e97a53a92c136e177c6b323b5782aec56f00714f4b7bf;F: mtimel+