andela/workdey

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

Summary

Maintainability
A
1 hr
Test Coverage

Function initUserMap has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function initUserMap() {
  var latitude, longitude;
  $('.user-map-trigger').on('click', function() {
      latitude = $(this).data("latitude")
      longitude = $(this).data("longitude")
Severity: Minor
Found in app/assets/javascripts/users.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status