Showing 357 of 7,143 total issues
Function setAsOpen
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, setAsOpen = function (pane, skipCallback) {
var
$P = $Ps[pane]
, $R = $Rs[pane]
, $T = $Ts[pane]
Consider simplifying this complex logical expression. Open
Open
if(!(/^(document|window|parent)$/).test(o.containment) && o.containment.constructor != Array) {
var c = $(o.containment);
var ce = c[0]; if(!ce) return;
var co = c.offset();
var over = ($(ce).css("overflow") != 'hidden');
Function animateClass
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );
return this.queue( function() {
var animated = $( this ),
Function _mouseCapture
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseCapture: function( event ) {
var position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,
that = this,
o = this.options;
Function _clear
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_clear: function(event, noPropagation) {
this.reverting = false;
// We delay all events that have to be triggered to after the point where the placeholder has been removed and
// everything else normalized again
Function allowOverflow
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function allowOverflow (el) {
if (!isInitialized()) return;
if (this && this.tagName) el = this; // BOUND to element
var $P;
if (isStr(el))
Function arrayIndexOf
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
var indexSize = 1
var arrLength = arr.length
var valLength = val.length
Function slideOffscreen
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.slideOffscreen = function(o) {
return this.queue(function(){
var fx = $.effects
, opt = o.options
Function _contactContainers
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_contactContainers: function(event) {
// get innermost container that intersects with item
var innermostContainer = null, innermostIndex = null;
Function blind
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.blind = function( o, done ) {
// Create element
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "hide" ),
Function fill
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Buffer.prototype.fill = function fill (val, start, end, encoding) {
// Handle string cases:
if (typeof val === 'string') {
if (typeof start === 'string') {
encoding = start
Function _determineDate
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_determineDate: function(inst, date, defaultDate) {
var offsetNumeric = function(offset) {
var date = new Date();
date.setDate(date.getDate() + offset);
return date;
Function _toggle
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_toggle: function( event, eventData ) {
var that = this,
toShow = eventData.newPanel,
toHide = eventData.oldPanel;
Function runQuery
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
runQuery() {
var self = this;
this.appbaseService.setAppbase(this.config);
var validate = this.checkValidQuery();
Function _animate
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_animate: function( toShow, toHide, data ) {
var total, easing, duration,
that = this,
adjust = 0,
down = toShow.length &&
Function compare
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
if (!Buffer.isBuffer(target)) {
throw new TypeError('Argument must be a Buffer')
}
Function scale
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.scale = function( o, done ) {
// Create element
var el = $( this ),
options = $.extend( true, {}, o ),
Function newQuery
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
newQuery(currentQuery) {
let queryList = this.storageService.get("queryList");
if (queryList) {
let list = JSON.parse(queryList);
let queryData = list.filter(function(query) {
Function getIndices
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getIndices() {
var es_host = document.URL.split("/_plugin/")[0];
var getIndices = this.appbaseService.getIndices(es_host);
getIndices
.then(
Function fold
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.fold = function( o, done ) {
// Create element
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],