oglimmer/lunchy

View on GitHub
src/main/webapp/js/directives.js

Summary

Maintainability
A
1 hr
Test Coverage

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

      link: function(scope, elem, attr, ngModelCtrl) {
          var fieldName = attr.unique;
          if(fieldName!="email" && fieldName!="domain") {
              console.log("unique needs to be email/domain"); return;
          }
Severity: Minor
Found in src/main/webapp/js/directives.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status