peterhudec/authomatic

View on GitHub
examples/gae/showcase/static/js/app.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function onLoginComplete has 86 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        onLoginComplete: function(result) {
            // Scroll the window to bottom of the #sub-header.
            var $subHeader = $("#sub-header");
            var position = $subHeader.offset().top + $subHeader.height();
            $("html, body").animate({scrollTop: position }, 'slow', function(){
Severity: Major
Found in examples/gae/showcase/static/js/app.js - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status