src/qt/res/assets/plugins/footable/footable.js
Function Footable
has 435 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Footable(t, o, id) {
///<summary>Inits a new instance of the plugin.</summary>
///<param name="t">The main table element to apply this plugin to.</param>
///<param name="o">The options supplied to the plugin. Check the defaults object to see all available options.</param>
///<param name="id">The id to assign to this instance of the plugin.</param>
File footable.js
has 644 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* FooTable - Awesome Responsive Tables
* Version : 2.0.3
* http://fooplugins.com/plugins/footable-jquery/
*
Function redraw
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ft.redraw = function () {
//add the toggler to each row
ft.addRowToggle();
//bind the toggle selector click events
Function init
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ft.init = function () {
var $window = $(w), $table = $(ft.table);
w.footable.plugins.init(ft);
Function getColumnData
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ft.getColumnData = function (th) {
var $th = $(th), hide = $th.data('hide'), index = $th.index();
hide = hide || '';
hide = jQuery.map(hide.split(','), function (a) {
return jQuery.trim(a);
Function resize
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ft.resize = function () {
var $table = $(ft.table);
if (!$table.is(':visible')) {
return;
Function createOrUpdateDetailRow
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ft.createOrUpdateDetailRow = function (actualRow) {
var $row = $(actualRow), $next = $row.next(), $detail, values = [];
if ($row.data('detail_created') === true) return true;
if ($row.is(':hidden')) return false; //if the row is hidden for some reason (perhaps filtered) then get out of here
Function createDetail
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
createDetail: function (element, data, createGroupedDetail, separatorChar, classes) {