Showing 5,781 of 10,536 total issues
Function start
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function() {
var runner;
var currentAnimation = startingAnimator.start();
currentAnimation.done(function() {
Function thumbnail
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
thumbnail: function thumbnail(file, dataUrl) {
if (file.previewElement) {
file.previewElement.classList.remove("dz-file-preview");
var _iteratorNormalCompletion6 = true;
var _didIteratorError6 = false;
Function _carve
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this._carve = function() {
if(this.relative) {
var w = this.relativeWidth ?
this.$div.parent().width() *
parseInt(this.o.width) / 100 :
Function slotSelectionMousedown
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function slotSelectionMousedown(ev) {
if (ev.which == 1 && opt('selectable')) { // ev.which==1 means left mouse button
unselect(ev);
var dates;
hoverListener.start(function(cell, origCell) {
Function success
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
success: function(data) {
var events = [];
if (data.feed.entry) {
$.each(data.feed.entry, function(i, entry) {
Function rangeToSegments
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function rangeToSegments(start, end) {
var rowCnt = t.rowCnt;
var colCnt = t.colCnt;
var segments = []; // array of segments to return
Function getHtmlRenderer
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getHtmlRenderer: function(rendererName, rowType) {
var view = this.view;
var generalName; // like "cellHtml"
var specificName; // like "dayCellHtml". based on rowType
var provider; // either the View or the RowRenderer subclass, whichever provided the method
Function renderEventTable
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderEventTable: function(events) {
var tableEl = $('<table><tr/></table>');
var trEl = tableEl.find('tr');
var segs = this.eventsToSegs(events);
var segCols;
Function link
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function (scope, element, attrs, ctrl) {
if (!ctrl) {
return;
}
Function getTicks
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getTicks: function(){
var m = 5,
extent = [this.clearMinValue, this.clearMaxValue],
span = extent[1] - extent[0],
step = Math.pow(10, Math.floor(Math.log(span / m) / Math.LN10)),
Function result_add_option
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
AbstractChosen.prototype.result_add_option = function(option) {
var classes, option_el;
if (!option.search_match) {
return '';
}
Function addCommand
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addCommand = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/command/command.model.html',
controller: 'ModalAddCommandCtrl',
windowClass: "animated fadeIn",
Function addPoint
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addPoint = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/datasource/point.model.html',
controller: 'ModalAddPointCtrl',
windowClass: "animated fadeIn",
Function updateLayout
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
a.updateLayout = function(b) {
// m.append(w.$tw);
// w.s1t(w.twp);
b = !0;
for (var c = m.parent(); "body" != c[0].tagName.toLowerCase(); ) {
Function sanitizeHtml
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) {
if (unsafeHtml.length === 0) {
return unsafeHtml
}
Function addSVG
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addSVG = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/svg/svg.model.html',
controller: 'ModalAddSVGCtrl',
windowClass: "animated fadeIn",
Function getAllSpaces
has 29 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 29 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 29 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 29 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;