Showing 5,781 of 10,536 total issues
Function $$rAFSchedulerFactory
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var $$rAFSchedulerFactory = ['$$rAF', function($$rAF) {
var queue, cancelFn;
function scheduler(tasks) {
// we make a copy since RAFScheduler mutates the state
Function $$cleanup
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.$$cleanup = function() {
var injector = currentSpec.$injector;
annotatedFunctions.forEach(function(fn) {
delete fn.$inject;
Function MessageFormatParser
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function MessageFormatParser(text, startIndex, $parse, pluralCat, stringifier,
mustHaveExpression, trustedContext, allOrNothing) {
this.text = text;
this.index = startIndex || 0;
this.$parse = $parse;
Function $CookiesProvider
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
provider('$cookies', [/** @this */function $CookiesProvider() {
/**
* @ngdoc property
* @name $cookiesProvider#defaults
* @description
Function toParsedFn
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
InterpolationParts.prototype.toParsedFn = function toParsedFn(mustHaveExpression, originalText) {
var self = this;
this.flushPartialText();
if (mustHaveExpression && this.expressionFns.length === 0) {
return undefined;
Function minErr
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function minErr(module, ErrorConstructor) {
ErrorConstructor = ErrorConstructor || Error;
var url = 'https://errors.angularjs.org/1.8.3/';
var regex = url.replace('.', '\\.') + '[\\s\\S]*';
Function ready
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ready: function (callback, thisArg) {
if (typeof $window.Highcharts !== 'undefined' || !lazyload) {
callback();
} else {
readyQueue.push([callback, thisArg]);
Function stop
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
stop: function(shouldRevert, callback) {
var _this = this;
var revertDuration = this.options.revertDuration;
function complete() {
Function daySelectionMousedown
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function daySelectionMousedown(ev) { // not really a generic manager method, oh well
var cellToDate = t.cellToDate;
var getIsCellAllDay = t.getIsCellAllDay;
var hoverListener = t.getHoverListener();
var reportDayClick = t.reportDayClick; // this is hacky and sort of weird
Function detectVerticalSquash
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var detectVerticalSquash = function detectVerticalSquash(img) {
var iw = img.naturalWidth;
var ih = img.naturalHeight;
var canvas = document.createElement("canvas");
canvas.width = 1;
Function getTextLayer
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Canvas.prototype.getTextLayer = function(classes) {
var layer = this.text[classes];
// Create the text layer if it doesn't exist
Function start
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
callbacks.start = function(e, ui) {
if (opts['ui-floating'] === 'auto') {
// since the drag has started, the element will be
// absolutely positioned, so we check its siblings
var siblings = ui.item.siblings();
Function templatesLoader
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$delegate.templatesLoader = function (paths, callback, params) {
var promises = [],
filesCache = $delegate._getFilesCache();
angular.forEach(paths, function (url) {
Function updateCalendars
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateCalendars: function () {
this.leftCalendar.calendar = this.buildCalendar(this.leftCalendar.month.month(), this.leftCalendar.month.year(), this.leftCalendar.month.hour(), this.leftCalendar.month.minute(), this.leftCalendar.month.second(), 'left');
this.rightCalendar.calendar = this.buildCalendar(this.rightCalendar.month.month(), this.rightCalendar.month.year(), this.rightCalendar.month.hour(), this.rightCalendar.month.minute(), this.rightCalendar.month.second(), 'right');
this.container.find('.calendar.left').empty().html(this.renderCalendar(this.leftCalendar.calendar, this.startDate, this.minDate, this.maxDate, 'left'));
this.container.find('.calendar.right').empty().html(this.renderCalendar(this.rightCalendar.calendar, this.endDate, this.singleDatePicker ? this.minDate : this.startDate, this.maxDate, 'right'));
Function La
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
La = function(a, c, u, e) {
if (!a[b.options.dataFields.items])
return (u = za(a, c + b.options.indent, u, e));
if ((u = za(a, c + b.options.indent, u, e))) {
e = 0;
Function applySorting
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.applySorting = function(a) {
a &&
(b.sortComparer
? a.sort(b.sortComparer)
: b.isSortingAllowed() &&
Function updateSelectionStatus
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.updateSelectionStatus = function(a) {
switch (a) {
case "shift":
switch (b.options.selectionMode) {
case "multi-simple":
Function getElemFromItem
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
a.getElemFromItem = function(b) {
var c = null;
if (b) {
var d = a.getItemCurrentIndex(b);
switch (b[a.options.dataFields.fixed]) {
Function ChatSidebar
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const ChatSidebar = () => {
const { isRTL } = useContext(AppContext);
const { threads } = useContext(ChatContext);
return (
Function deps
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($ocLazyLoad) {
return $ocLazyLoad.load(['ui.select', 'ui.checkbox', 'toaster']).then(
function () {
return $ocLazyLoad.load([{
files: ['js/plugins/sweetalert/sweetalert.min.js', 'css/plugins/sweetalert/sweetalert.css']