osbridge/openconferenceware

View on GitHub
app/assets/javascripts/open_conference_ware/favorites.js

Summary

Maintainability
A
1 hr
Test Coverage

Function bind_user_favorite_controls has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function bind_user_favorite_controls() {
  $('.favorite').each(function() {
      if( !logged_in() ) {
        $(this).addClass('disabled');
      }
Severity: Minor
Found in app/assets/javascripts/open_conference_ware/favorites.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status