Showing 14,752 of 14,752 total issues
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
Function _refreshValue
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshValue: function() {
var value = this.options.value,
percentage = this._percentage();
this.valueDiv
- Create a ticketCreate a ticket
Function transition
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
transition: function( other, distance ) {
var end = color( other ),
spaceName = end._space(),
space = spaces[ spaceName ],
startColor = this.alpha() === 0 ? color( "transparent" ) : this,
- Create a ticketCreate a ticket
Function _initialActive
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initialActive: function() {
var active = this.options.active,
collapsible = this.options.collapsible,
locationHash = location.hash.substring( 1 );
- Create a ticketCreate a ticket
Function _refresh
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refresh: function() {
this._setupDisabled( this.options.disabled );
this._setupEvents( this.options.event );
this._setupHeightStyle( this.options.heightStyle );
- Create a ticketCreate a ticket