Sha256: ecf00da1a4c8bd9a474b0185d07f7e89fff59759ef0877ef3125f98390429a3f
Contents?: true
Size: 1003 Bytes
Versions: 4
Compression:
Stored size: 1003 Bytes
Contents
var PwbPropsController = Paloma.controller('Pwb/Props'); PwbPropsController.prototype.show = function() { // Below for properties slider // don't have something similar for main landing yet $(".carousel-inner .item").click(function() { var carouselStatus = $('#propCarousel').data('status'); if (carouselStatus && carouselStatus === "paused") { $('#propCarousel').carousel('cycle'); $('#propCarousel').data('status', "cycling"); } else { $('#propCarousel').carousel('pause'); $('#propCarousel').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); } };
Version data entries
4 entries across 4 versions & 1 rubygems