Showing 6,856 of 14,752 total issues
Function update
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
NativeScrollbars.prototype.update = function (measure) {
var needsH = measure.scrollWidth > measure.clientWidth + 1;
var needsV = measure.scrollHeight > measure.clientHeight + 1;
var sWidth = measure.nativeBarWidth;
- Create a ticketCreate a ticket
Function skipAtomicInner
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function skipAtomicInner(doc, pos, oldPos, dir, mayClear) {
var line = getLine(doc, pos.line);
if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {
var sp = line.markedSpans[i], m = sp.marker;
- Create a ticketCreate a ticket
Function _createPanels
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let port = window.port || -1;
let schema = schemas.riskModel;
return {
- Create a ticketCreate a ticket
Function _createParamMetadataList
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createParamMetadataList( param ) {
let O = this;
_log( 'PANEL SIM / _createParamMetadataList' );
let listData = {
- Create a ticketCreate a ticket
Function _createPanels
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let port = window.port || -1;
let schema = schemas.qraModel;
return {
- Create a ticketCreate a ticket
Function _create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create () {
let O = this;
_log( 'MODAL / _create' );
O._id = O.opts.id || 'modal'+ $.now();
- Create a ticketCreate a ticket
Function _createRow
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createRow(value = "") {
let O = this;
let input = document.createElement("input");
input.type = O.type;
input.className = "form-control";
- Create a ticketCreate a ticket
Function query
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tokenizer.prototype.query = function (decorated, params, callback) {
var self = this;
function createAndSelect (data) {
// Normalize the data object so we can use it for checks
- Create a ticketCreate a ticket
Function convertToOptions
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ArrayAdapter.prototype.convertToOptions = function (data) {
var self = this;
var $existing = this.$element.find('option');
var existingIds = $existing.map(function () {
- Create a ticketCreate a ticket
Function calcGridLabels
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
calcGridLabels: function () {
var i, label, start = [], finish = [],
num = this.coords.big_num;
for (i = 0; i < num; i++) {
- Create a ticketCreate a ticket
Function convertToOptions
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ArrayAdapter.prototype.convertToOptions = function (data) {
var self = this;
var $existing = this.$element.find('option');
var existingIds = $existing.map(function () {
- Create a ticketCreate a ticket
Function option
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SelectAdapter.prototype.option = function (data) {
var option;
if (data.children) {
option = document.createElement('optgroup');
- Create a ticketCreate a ticket
Function d3_scale_quantize
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_scale_quantize(x0, x1, range) {
var kx, i;
function scale(x) {
return range[Math.max(0, Math.min(i, Math.floor(kx * (x - x0))))];
}
- Create a ticketCreate a ticket
Function query
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tokenizer.prototype.query = function (decorated, params, callback) {
var self = this;
function createAndSelect (data) {
// Normalize the data object so we can use it for checks
- Create a ticketCreate a ticket
Function handleEmpty
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handleEmpty: function (isEmpty) {
//do not handle empty if we do not display anything
if(this.options.display === false) {
return;
}
- Create a ticketCreate a ticket
Function gobbleStringLiteral
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
gobbleStringLiteral = function() {
var str = '', quote = exprI(index++), closed = false, ch;
while(index < length) {
ch = exprI(index++);
- Create a ticketCreate a ticket
Function gobbleIdentifier
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
gobbleIdentifier = function() {
var ch = exprICode(index), start = index, identifier;
if(isIdentifierStart(ch)) {
index++;
- Create a ticketCreate a ticket
Function _drop
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_drop: function( event, custom ) {
var draggable = custom || $.ui.ddmanager.current,
childrenIntersection = false;
- Create a ticketCreate a ticket
Function complete
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
complete: function() {
if ( el.to.opacity === 0 ) {
el.css( "opacity", el.from.opacity );
}
if ( mode === "hide" ) {
- Create a ticketCreate a ticket
Function _create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
this.originalCss = {
display: this.element[ 0 ].style.display,
width: this.element[ 0 ].style.width,
minHeight: this.element[ 0 ].style.minHeight,
- Create a ticketCreate a ticket