Showing 5,781 of 10,536 total issues
Function flatten
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function flatten(tree) {
var result = [];
var queue = [];
var i;
Function block_meta
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Markdown.dialects.Maruku.block.block_meta = function block_meta( block, next ) {
// check if the last line of the block is an meta hash
var m = block.match( /(^|\n) {0,3}\{:\s*((?:\\\}|[^\}])*)\s*\}$/ );
if ( !m ) return undefined;
Function removeAllFiles
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function removeAllFiles(cancelIfNecessary) {
// Create a copy of files since removeFile() changes the @files array.
if (cancelIfNecessary == null) {
cancelIfNecessary = false;
}
Function _listen
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this._listen = function () {
if (!this.o.readOnly) {
this.$c
.bind(
Function error
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
error: function error(file, message) {
if (file.previewElement) {
file.previewElement.classList.add("dz-error");
if (typeof message !== "string" && message.error) {
Function _finishedUploading
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function _finishedUploading(files, xhr, e) {
var response;
if (files[0].status === Dropzone.CANCELED) {
return;
Function rangeToSegments
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function rangeToSegments(startDate, endDate) {
var rowCnt = t.getRowCnt();
var colCnt = t.getColCnt();
var segments = []; // array of segments to return
Function processFiles
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function processFiles(files) {
var _iteratorNormalCompletion18 = true;
var _didIteratorError18 = false;
var _iteratorError18 = undefined;
Function setRange
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setRange(axis) {
var opts = axis.options,
min = +(opts.min != null ? opts.min : axis.datamin),
max = +(opts.max != null ? opts.max : axis.datamax),
delta = max - min;
Function Canvas
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Canvas(cls, container) {
var element = container.children("." + cls)[0];
if (element == null) {
Function adjustLayoutForThingsStickingOut
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function adjustLayoutForThingsStickingOut() {
// possibly adjust plot offset to ensure everything stays
// inside the canvas and isn't clipped off
var minMargin = options.grid.minBorderMargin,
Function b
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var b = c(function() {
var d = "ltr";
!0 === a.options.rtl && (d = "rtl");
f.css("direction", d);
if (
Function A
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var A = function(d, a, c, r, e) {
d.type = "item";
d[b.options.dataFields.id] ||
(d[b.options.dataFields.id] = f.getUniqueId());
c && (d[b.options.dataFields.pid] = c);
Function Region
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
};jvm.Region = function(config){
var bbox,
text,
offsets,
labelDx,
Function keydown_checker
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Chosen.prototype.keydown_checker = function(evt) {
var stroke, _ref1;
stroke = (_ref1 = evt.which) != null ? _ref1 : evt.keyCode;
this.search_field_scale();
if (stroke !== 8 && this.pending_backstroke) {
Function Pb
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Pb = function(b, c) {
if (F) {
document.activeElement && document.activeElement.blur();
var d = a.hoverItem;
a.hoverItem = null;
Function addApiKey
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addApiKey = function () {
var modalInstance = $uibModal.open({
templateUrl: 'views/users/apikey/apikey.model.html',
controller: 'ModalAddApiKeyCtrl',
windowClass: "animated fadeIn",
Function checkPosition
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Affix.prototype.checkPosition = function () {
if (!this.$element.is(':visible')) return
var height = this.$element.height()
var offset = this.options.offset
Function CalendarExample
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const CalendarExample = () => {
return (
<>
<PageHeader
title="Full Calendar"
Function link
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function (scope, element, attrs) {
var map = element.vectorMap({
map: 'world_mill_en',
backgroundColor: "transparent",
regionStyle: {