ore/public/javascripts/userPage.js
Function loadActions
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function loadActions(increment, action) {
pages[action] += increment;
var offset = (pages[action] - 1) * CONTENT_PER_PAGE;
apiV2Request('users/' + USERNAME + '/' + action + '?offset=' + offset + '&limit=' + CONTENT_PER_PAGE).then(function (result) {
Function setupAvatarForm
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setupAvatarForm() {
$('.btn-got-it').click(function () {
var prompt = $(this).closest('.prompt');
$.ajax({
TODO found Open
Open
//TODO: Use pagination info
- Exclude checks