examples/gae/showcase/static/js/app.js
Function onLoginComplete
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
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(){