AgileVentures/LocalSupport

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

Summary

Maintainability
A
2 hrs
Test Coverage

Function initMap has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  initMap: function initMap() {
    Settings.zoom = parseInt($("#marker_data").data().zoom || '12', 10)
    Settings.lat = parseFloat($("#marker_data").data().latitude || '51.5978')
    Settings.lng = parseFloat($("#marker_data").data().longitude || '-0.3370')
    Settings.geojsonUrl1 = $("#marker_data").data().geojsonUrl1 
Severity: Major
Found in app/assets/javascripts/maps.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status