src/qt/res/assets/plugins/footable/footable.paginate.js
Function Paginate
has 185 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Paginate() {
var p = this;
p.name = 'Footable Paginate';
p.init = function (ft) {
Function createNavigation
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.createNavigation = function (ft, tbody) {
var $nav = $(ft.table).find(ft.pageInfo.pageNavigation);
//if we cannot find the navigation control within the table, then try find it outside
if ($nav.length === 0) {
Function createPages
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.createPages = function (ft, tbody) {
var pages = 1;
var info = ft.pageInfo;
var pageCount = pages * info.pageSize;
var page = [];