BathHacked/energy-sparks

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

Summary

Maintainability
A
2 hrs
Test Coverage

Function fireRequestForJson has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function fireRequestForJson(mapDiv) {

  var dataUrl = '/map.json';
  var schoolGroupId = mapDiv.data('schoolGroupId');

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

    There are no issues that match your filters.

    Category
    Status