tansaku/LocalSupport

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

Summary

Maintainability
A
1 hr
Test Coverage

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

function initMap() {

  map = new google.maps.Map(document.getElementById(Settings.id), {
    center: {lat: Settings.lat, lng: Settings.lng},
    zoom: Settings.zoom
Severity: Minor
Found in app/assets/javascripts/maps.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status