Showing 5,781 of 10,536 total issues
Function compileSlotSegs
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function compileSlotSegs(events) {
var colCnt = getColCnt(),
minMinute = getMinMinute(),
maxMinute = getMaxMinute(),
d,
Function generateSegPositionCss
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
generateSegPositionCss: function(seg) {
var view = this.view;
var isRTL = view.opt('isRTL');
var shouldOverlap = view.opt('slotEventOverlap');
var backwardCoord = seg.backwardCoord; // the left side if LTR. the right side if RTL. floating-point
Function _renderDayEvents
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _renderDayEvents(events, doAppend, doRowHeights) {
// where the DOM nodes will eventually end up
var finalContainer = getDaySegmentContainer();
Function intersectionToSeg
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function intersectionToSeg(subjectStart, subjectEnd, intervalStart, intervalEnd) {
var segStart, segEnd;
var isStart, isEnd;
if (subjectEnd > intervalStart && subjectStart < intervalEnd) { // in bounds at all?
Function axisToCanvasCoords
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function axisToCanvasCoords(pos) {
// get canvas coords from the first pair of x/y found in pos
var res = {}, i, axis, key;
for (i = 0; i < xaxes.length; ++i) {
Function getCell
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getCell: function(x, y) {
var cell = null;
var rows = this.rows;
var cols = this.cols;
var r = -1;
Function setTicks
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setTicks(axis) {
var oticks = axis.options.ticks, ticks = [];
if (oticks == null || (typeof oticks == "number" && oticks > 0))
ticks = axis.tickGenerator(axis);
else if (oticks) {
Function renderSegPopoverContent
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderSegPopoverContent: function(date, segs) {
var view = this.view;
var isTheme = view.opt('theme');
var title = date.format(view.opt('dayPopoverFormat'));
var content = $(
Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function render(date, delta) {
if (delta) {
addMonths(date, delta);
date.setDate(1);
Function startListening
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
startListening: function(ev) {
var scrollParent;
var cell;
if (!this.isListening) {
Function buildCoords
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
buildCoords: function(rows, cols) {
var colCnt = this.view.colCnt;
var originTop = this.el.offset().top;
var snapTime = moment.duration(+this.minTime);
var p = null;
Function buildChartDirective
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var buildChartDirective = function ( chartType ) {
return {
restrict: 'E',
scope: {
data: "=",
Function update
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function update() {
var view = scope.view;
datePickerUtils.setParams(tz, firstDay);
if (scope.model && !arrowClick) {
Function add_option
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SelectParser.prototype.add_option = function(option, group_position, group_disabled) {
if (option.nodeName.toUpperCase() === "OPTION") {
if (option.text !== "") {
if (group_position != null) {
this.parsed[group_position].children += 1;
Function Ib
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Ib = function(b, c, d, e, f) {
var g = {
top: 0,
left: 0 == a.options.rtl ? c * a.options.indent + 7 : "auto",
right: 0 != a.options.rtl ? c * a.options.indent + 8 : "auto",
Function refresh
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ScrollSpy.prototype.refresh = function () {
var that = this
var offsetMethod = 'offset'
var offsetBase = 0
Function next
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function next() {
$active
.removeClass('active')
.find('> .dropdown-menu > .active')
.removeClass('active')
Function oa
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
oa = function(a) {
if (T && "linear" == Fa) {
Ha = !1;
var b = Math.floor((fb * a) / 100),
c = Ga;
Function Aa
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Aa = function() {
var b = C.find("li");
if (0 < b.length)
for (var c = 0; c < b.length; c++) {
currentElem = angular.element(b[c]);
Function hide
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Collapse.prototype.hide = function () {
if (this.transitioning || !this.$element.hasClass('in')) return
var startEvent = $.Event('hide.bs.collapse')
this.$element.trigger(startEvent)