consul/consul

View on GitHub
app/assets/javascripts/map.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function initializeMap has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    initializeMap: function(element) {
      var createMarker, editable, investmentsMarkers, map, marker, markerClustering,
        markerData, markerIcon, markers, moveOrPlaceMarker, removeMarker, removeMarkerSelector;
      App.Map.cleanInvestmentCoordinates(element);
      removeMarkerSelector = $(element).data("marker-remove-selector");
Severity: Major
Found in app/assets/javascripts/map.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status