Sha256: 4c1e64f6c3f070ae67e96b137e7b8e5a37a30ea314200cce2c6b8272e8eb936d

Contents?: true

Size: 800 Bytes

Versions: 3

Compression:

Stored size: 800 Bytes

Contents

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);
  // }
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pwb-1.4.0 app/assets/javascripts/pwb/paloma/sections.js
pwb-1.3.0 app/assets/javascripts/pwb/paloma/sections.js
pwb-1.2.0 app/assets/javascripts/pwb/paloma/sections.js