Showing 840 of 1,637 total issues
Function _fnBuildHead
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnBuildHead( oSettings )
{
var i, nTh, iLen, j, jLen;
var iThs = $('th, td', oSettings.nTHead).length;
var iCorrector = 0;
Function fnDestroy
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.fnDestroy = function ( bRemove )
{
var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] );
var nOrig = oSettings.nTableWrapper.parentNode;
var nBody = oSettings.nTBody;
Function tree
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tree(d, i) {
var nodes = hierarchy.call(this, d, i), root = nodes[0];
function firstWalk(node, previousSibling) {
var children = node.children, layout = node._tree;
if (children && (n = children.length)) {
Function Toggle
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Rickshaw.Graph.Behavior.Series.Toggle = function(args) {
this.graph = args.graph;
this.legend = args.legend;
Function remove
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
remove: function(node) {
if (node.N) node.N.P = node.P;
if (node.P) node.P.N = node.N;
node.N = node.P = null;
var parent = node.U, sibling, left = node.L, right = node.R, next, red;
Function Area
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Morris.Area = (function(_super) {
var areaDefaults;
__extends(Area, _super);
Function _refresh
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refresh: function() {
var maxHeight,
options = this.options,
heightStyle = options.heightStyle,
parent = this.element.parent(),
Function _extractTransform
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
extractTransform = R._extractTransform = function (el, tstr) {
if (tstr == null) {
return el._.transform;
}
tstr = Str(tstr).replace(/\.{3}|\u2026/g, el._.transform || E);
Function d3_geo_clip
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_geo_clip(pointVisible, clipLine, interpolate, clipStart) {
return function(rotate, listener) {
var line = clipLine(listener), rotatedClipStart = rotate.invert(clipStart[0], clipStart[1]);
var clip = {
point: point,
Function trigger
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
trigger: function( event, data, elem, onlyHandlers ) {
var handle, ontype, cur,
bubbleType, special, tmp, i,
eventPath = [ elem || document ],
type = core_hasOwn.call( event, "type" ) ? event.type : event,
Function _doKeyDown
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_doKeyDown: function(event) {
var onSelect, dateStr, sel,
inst = $.datepicker._getInst(event.target),
handled = true,
isRTL = inst.dpDiv.is(".ui-datepicker-rtl");
Function a2c
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
a2c = function (x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {
// for more information of where this math came from visit:
// http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes
var _120 = PI * 120 / 180,
rad = PI / 180 * (+angle || 0),
Function Animation
has 84 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Animation( elem, properties, options ) {
var result,
stopped,
index = 0,
length = animationPrefilters.length,
Function send
has 82 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
send: function( headers, complete ) {
// Get a new xhr
var handle, i,
xhr = s.xhr();
Function _keydown
has 81 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_keydown: function( event ) {
/*jshint maxcomplexity:20*/
var match, prev, character, skip, regex,
preventDefault = true;
Function DonutSegment
has 81 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Morris.DonutSegment = (function(_super) {
__extends(DonutSegment, _super);
function DonutSegment(cx, cy, inner, outer, p0, p1, color, backgroundColor, index, raphael) {
Function data
has 80 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3_selectionPrototype.data = function(value, key) {
var i = -1, n = this.length, group, node;
if (!arguments.length) {
value = new Array(n = (group = this[0]).length);
while (++i < n) {
Function addGradientFill
has 80 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addGradientFill = function (element, gradient) {
var type = "linear",
id = element.id + gradient,
fx = .5, fy = .5,
o = element.node,
Function formatDate
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
formatDate: function (format, date, settings) {
if (!date) {
return "";
}
Function fnUpdate
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"fnUpdate": function ( oSettings, fnCallbackDraw )
{
if ( !oSettings.aanFeatures.p )
{
return;