Showing 840 of 1,637 total issues
Function _on
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_on: function( suppressDisabledCheck, element, handlers ) {
var delegateElement,
instance = this;
// no suppressDisabledCheck flag, shuffle arguments
Function render
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function (fieldset, lookups, options) {
var self = this,
fields = fieldset,
match, token, lookupkey, fieldvalue, prec;
return this.format.replace(this.fre, function () {
Function dragMove
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dragMove = function (e) {
var x = e.clientX,
y = e.clientY,
scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,
Function bars
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return this.bars = (function() {
var _i, _len, _ref, _results;
_ref = this.data;
_results = [];
for (idx = _i = 0, _len = _ref.length; _i < _len; idx = ++_i) {
Function linePoint
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function linePoint(λ, φ) {
var p = d3_geo_cartesian([ λ * d3_radians, φ * d3_radians ]);
if (p0) {
var normal = d3_geo_cartesianCross(p0, p), equatorial = [ normal[1], -normal[0], 0 ], inflection = d3_geo_cartesianCross(equatorial, normal);
d3_geo_cartesianNormalize(inflection);
Function d3_geo_pathContext
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_geo_pathContext(context) {
var pointRadius = 4.5;
var stream = {
point: point,
lineStart: function() {
Function each
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
each: function( obj, callback, args ) {
var value,
i = 0,
length = obj.length,
isArray = isArraylike( obj );
Function slide
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, slide: function (type, next) {
var $active = this.$element.find('.item.active')
, $next = next || $active[type]()
, isCycling = this.interval
, direction = type == 'next' ? 'left' : 'right'
Function _mouseDown
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDown: function(event) {
// don't let more than one widget handle mouseStart
if( mouseHandled ) { return; }
// we may have missed mouseup (out of window)
Function _respectSize
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_respectSize: function( data ) {
var o = this._vBoundaries,
a = this.axis,
ismaxw = isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width), ismaxh = isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height),
Function drag
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function(draggable, event) {
//If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
if(draggable.options.refreshPositions) {
$.ui.ddmanager.prepareOffsets(draggable, event);
Function _createPlaceholder
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPlaceholder: function(that) {
that = that || this;
var className,
o = that.options;
Function _possibleChars
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_possibleChars: function (format) {
var iFormat,
chars = "",
literal = false,
// Check whether a format character is doubled
Function drop
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.drop = function( o, done ) {
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "opacity", "height", "width" ],
mode = $.effects.setMode( el, o.mode || "hide" ),
Function parsePathString
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
R.parsePathString = function (pathString) {
if (!pathString) {
return null;
}
var pth = paths(pathString);
Function registerFont
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
R.registerFont = function (font) {
if (!font.face) {
return font;
}
this.fonts = this.fonts || {};
Function d3_geo_clipAntimeridianLine
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_geo_clipAntimeridianLine(listener) {
var λ0 = NaN, φ0 = NaN, sλ0 = NaN, clean;
return {
lineStart: function() {
listener.lineStart();
Function Palette
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Rickshaw.Color.Palette = function(args) {
var color = new Rickshaw.Fixtures.Color();
args = args || {};
Function showHide
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showHide( elements, show ) {
var display, elem, hidden,
values = [],
index = 0,
length = elements.length;
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var firstDataType, ct, finalDataType, type,
contents = s.contents,
dataTypes = s.dataTypes;