Showing 3 of 8 total issues
Function submit #account-edit-form
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
'submit #account-edit-form': function (e, templateInstance) {
e.preventDefault();
var username = templateInstance.find('#username').value;
var ign = templateInstance.find('#ign').value;
Avoid too many return
statements within this function. Open
Open
return 'My Profile';
Avoid too many return
statements within this function. Open
Open
return 'Dashboard';