fixed_header/static/src/lib/jquery.stickytableheaders.js
Function Plugin
has 220 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Plugin (el, options) {
// To avoid scope issues, use 'base' instead of 'this'
// to reference this class from internal events and functions.
var base = this;
File jquery.stickytableheaders.js
has 251 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*! Copyright (c) 2011 by Jonas Mosbech - https://github.com/jmosbech/StickyTableHeaders
MIT license info: https://github.com/jmosbech/StickyTableHeaders/blob/master/license.txt */
;(function ($, window, undefined) {
'use strict';
Function toggleHeaders
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
base.toggleHeaders = base.debounce(function () {
if (base.$el) {
base.$el.each(function () {
var $this = $(this),
newLeft,
Function getWidth
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
base.getWidth = function ($clonedHeaders) {
var widths = [];
$clonedHeaders.each(function (index) {
var width, $this = $(this);