app/assets/javascripts/map/gmap.js
Function initialize
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initialize() {
$('.map').click(function() {
var widget = $(this).closest("[class^='widget']").find('#map-canvas').get(0);
$(widget).show();