codeRIT/hackathon_manager

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

Summary

Maintainability
A
3 hrs
Test Coverage

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

$.fn.initMap = function() {
  if (!this || this.length == 0) {
    return;
  }

Severity: Major
Found in app/assets/javascripts/manage/map.js - About 2 hrs to fix

    Function ready has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function ready(error, us) {
        if (error) return console.error(error);
    
        svg
          .append('path')
    Severity: Minor
    Found in app/assets/javascripts/manage/map.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status