ore/public/javascripts/versionList.js
Function loadVersions
has 221 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function loadVersions(increment, scrollTop) {
var versionList = $('.version-table');
var offset = (page + increment - 1) * VERSIONS_PER_PAGE;
var url = 'projects/' + PLUGIN_ID + '/versions' + '?offset=' + offset;
File versionList.js
has 275 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
//=====> EXTERNAL CONSTANTS
var PLUGIN_ID = null;
var VERSIONS_PER_PAGE = 10;
var PROJECT_OWNER = null;