Showing 5,781 of 10,536 total issues
Function BaseLocationServices
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var BaseLocationServices = /** @class */ (function () {
function BaseLocationServices(router, fireAfterUpdate) {
var _this = this;
this.fireAfterUpdate = fireAfterUpdate;
this._listeners = [];
Function invokeHook
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
TransitionHook.prototype.invokeHook = function () {
var _this = this;
var hook = this.registeredHook;
if (hook._deregistered)
return;
Function getLengthInBits
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_this.getLengthInBits = function(mode, type) {
if (1 <= type && type < 10) {
// 1 - 9
Function encode64
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function encode64(input) {
var output = '';
var chr1 = undefined;
var chr2 = undefined;
var chr3 = '';
Function emit
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function emit(event) {
this._callbacks = this._callbacks || {};
var callbacks = this._callbacks[event];
if (callbacks) {
Function strong_em
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function strong_em( tag, md ) {
var state_slot = tag + "_state",
other_slot = tag == "strong" ? "em_state" : "strong_state";
Function AgendaWeekView
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function AgendaWeekView(element, calendar) {
var t = this;
// exports
Function slatRowHtml
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
slatRowHtml: function() {
var view = this.view;
var calendar = view.calendar;
var isRTL = view.opt('isRTL');
var html = '';
Function drag
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function(ev, ui) {
// NOTE: this `cell` value is only useful for determining in-bounds and all-day.
// Bad for anything else due to the discrepancy between the mouse position and the
// element position while snapping. (problem revealed in PR #55)
Function checkElements
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var checkElements = function checkElements(elements) {
return function () {
var result = [];
var _iteratorNormalCompletion31 = true;
var _didIteratorError31 = false;
Function renderMoreLink
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderMoreLink: function(cell, hiddenSegs) {
var _this = this;
var view = this.view;
return $('<a class="fc-more"/>')
Function BasicWeekView
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function BasicWeekView(element, calendar) {
var t = this;
// exports
Function init
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, r.init = function() {
var a = e(t),
i = e(r.table);
if (t.footable.plugins.init(r), i.hasClass(d.loaded)) return r.raise(s.alreadyInitialized), undefined;
r.raise(s.initializing), i.addClass(d.loading), i.find(l.columnDataSelector).each(function() {
Function redraw
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, r.redraw = function() {
r.addRowToggle(), r.bindToggleSelectors(), r.setColumnClasses();
var t = e(r.table),
a = t.data("breakpoint"),
i = r.hasBreakpointColumn(a);
Function getAllSpaces
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.getAllSpaces = function () {
let headers = { "User-UUID": $scope.cur_user.uuid, "Token": $scope.cur_user.token };
SpaceService.getAllSpaces(headers, function (response) {
if (angular.isDefined(response.status) && response.status === 200) {
$scope.spaces = response.data;
Function show
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tab.prototype.show = function () {
var $this = this.element
var $ul = $this.closest('ul:not(.dropdown-menu)')
var selector = $this.data('target')
Function getAllSpaces
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.getAllSpaces = function () {
let headers = { "User-UUID": $scope.cur_user.uuid, "Token": $scope.cur_user.token };
SpaceService.getAllSpaces(headers, function (response) {
if (angular.isDefined(response.status) && response.status === 200) {
$scope.spaces = response.data;
Function getAllSpaces
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.getAllSpaces = function() {
let headers = { "User-UUID": $scope.cur_user.uuid, "Token": $scope.cur_user.token };
SpaceService.getAllSpaces(headers, function (response) {
if (angular.isDefined(response.status) && response.status === 200) {
$scope.spaces = response.data;
Function refreshMenuTree
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.refreshMenuTree = function () {
let headers = { "User-UUID": $scope.cur_user.uuid, "Token": $scope.cur_user.token };
MenuService.getAllMenus(headers, function (response) {
if (angular.isDefined(response.status) && response.status === 200) {
$scope.menus = response.data;
Function getAllSpaces
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.getAllSpaces = function() {
let headers = { "User-UUID": $scope.cur_user.uuid, "Token": $scope.cur_user.token };
SpaceService.getAllSpaces(headers, function (response) {
if (angular.isDefined(response.status) && response.status === 200) {
$scope.spaces = response.data;