Showing 460 of 700 total issues
Function _onDragEvent
has 224 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_onDragEvent: function (
eventName,
node,
otherNode,
event,
Function onDropEvent
has 222 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onDropEvent(event) {
var json,
allowAutoExpand,
nodeData,
isSourceFtNode,
Function publish
has 218 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.publish = function(taffyData, opts, tutorials) {
var classes;
var conf;
var externals;
var files;
Function dump
has 213 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var dump = (function () {
function quote(str) {
return '"' + str.toString().replace(/\\/g, '\\\\').replace(/"/g, '\\"') + '"';
}
File publish.js
has 505 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
var doop = require('jsdoc/util/doop');
var env = require('jsdoc/env');
var fs = require('jsdoc/fs');
Function treeInit
has 179 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
treeInit: function (ctx) {
this._requireExtension("table", true, true);
// 'fixed' requires the table extension to be loaded before itself
var res = this._superApply(arguments),
Function Deferred
has 178 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Deferred: function( func ) {
var tuples = [
// action, add listener, callbacks,
// ... .then handlers, argument index, [final state]
Function equiv
has 178 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var equiv = (function () {
// Value pairs queued for comparison. Used for breadth-first processing order, recursion
// detection and avoiding repeated comparison (see below for details).
// Elements are { a: val, b: val }.
var pairs = [];
Function nodeRenderTitle
has 177 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nodeRenderTitle: function (ctx, title) {
// set node connector images, links and text
var checkbox,
className,
icon,
Function _applyFilterImpl
has 167 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.ui.fancytree._FancytreeClass.prototype._applyFilterImpl = function (
filter,
branchMode,
_opts
) {
Function nodeSetExpanded
has 161 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nodeSetExpanded: function (ctx, flag, callOpts) {
callOpts = callOpts || {};
var _afterLoad,
dfd,
i,
Function nodeKeydown
has 149 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nodeKeydown: function (ctx) {
var handleKeys,
inputType,
res,
$td,
Function position
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.position = function( options ) {
if ( !options || !options.of ) {
return _position.apply( this, arguments );
}
Function position
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.position = function( options ) {
if ( !options || !options.of ) {
return _position.apply( this, arguments );
}
Function position
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.position = function( options ) {
if ( !options || !options.of ) {
return _position.apply( this, arguments );
}
File jquery.fancytree.table.js
has 407 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jquery.fancytree.table.js
*
* Render tree as table (aka 'tree grid', 'table tree').
* (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/)
Function _bind
has 144 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_bind: function () {
var self = this,
opts = this.options,
tree = this.tree,
ns = tree._ns;
File jquery.fancytree.filter.js
has 404 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jquery.fancytree.filter.js
*
* Remove or highlight tree nodes, based on a filter.
* (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/)
Function _registerDnd
has 141 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _registerDnd() {
if (didRegisterDnd) {
return;
}
File taxonomy-browser.js
has 401 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Fancytree Taxonomy Browser
*
* Copyright (c) 2015, Martin Wendt (https://wwWendt.de)
*