Showing 14,752 of 14,752 total issues
Function bind
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Search.prototype.bind = function (decorated, container, $container) {
var self = this;
var resultsId = container.id + '-results';
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
var S2;(function () { if (!S2 || !S2.requirejs) {
if (!S2) { S2 = {}; } else { require = S2; }
/**
* @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/almond/LICENSE
- Create a ticketCreate a ticket
Function _fill_yearsView
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_fill_yearsView: function(selector, cssClass, factor, year, startYear, endYear, beforeFn){
var html = '';
var step = factor / 10;
var view = this.picker.find(selector);
var startVal = Math.floor(year / factor) * factor;
- Create a ticketCreate a ticket
Function d3_interpolateTransform
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_interpolateTransform(a, b) {
var s = [], q = [], n, A = d3.transform(a), B = d3.transform(b), ta = A.translate, tb = B.translate, ra = A.rotate, rb = B.rotate, wa = A.skew, wb = B.skew, ka = A.scale, kb = B.scale;
if (ta[0] != tb[0] || ta[1] != tb[1]) {
s.push("translate(", null, ",", null, ")");
q.push({
- Create a ticketCreate a ticket
Function d3_scale_linear
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_scale_linear(domain, range, interpolate, clamp) {
var output, input;
function rescale() {
var linear = Math.min(domain.length, range.length) > 2 ? d3_scale_polylinear : d3_scale_bilinear, uninterpolate = clamp ? d3_uninterpolateClamp : d3_uninterpolateNumber;
output = linear(domain, range, uninterpolate, interpolate);
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if( (
(indep.min == undefined || indep.min == "" || indep.min == null) &&
(indep.max == undefined || indep.max == "" || indep.max == null) &&
(indep.value != undefined && indep.value !== "")
)
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if( (
(indep.min == undefined || indep.min == "" || indep.min == null) &&
(indep.max == undefined || indep.max == "" || indep.max == null) &&
(indep.value != undefined && indep.value !== "")
)
- Create a ticketCreate a ticket
Function chord
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.svg.chord = function() {
var source = d3_source, target = d3_target, radius = d3_svg_chordRadius, startAngle = d3_svg_arcStartAngle, endAngle = d3_svg_arcEndAngle;
function chord(d, i) {
var s = subgroup(this, source, d, i), t = subgroup(this, target, d, i);
return "M" + s.p0 + arc(s.r, s.p1, s.a1 - s.a0) + (equals(s, t) ? curve(s.r, s.p1, s.r, s.p0) : curve(s.r, s.p1, t.r, t.p0) + arc(t.r, t.p1, t.a1 - t.a0) + curve(t.r, t.p1, s.r, s.p0)) + "Z";
- Create a ticketCreate a ticket
Function Display
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Display(place, doc, input) {
var d = this
this.input = input
// Covers bottom-right square when both scrollbars are present.
- Create a ticketCreate a ticket
Function _makeResizable
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_makeResizable: function() {
var that = this,
options = this.options,
handles = options.resizable,
// .ui-resizable has position: relative defined in the stylesheet
- Create a ticketCreate a ticket
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 ),
- Create a ticketCreate a ticket
Function moveVisually
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function moveVisually(cm, line, start, dir) {
var bidi = getOrder(line, cm.doc.direction)
if (!bidi) { return moveLogically(line, start, dir) }
if (start.ch >= line.text.length) {
start.ch = line.text.length
- Create a ticketCreate a ticket
Function onScrollWheel
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onScrollWheel(cm, e) {
var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y
var display = cm.display, scroll = display.scroller
// Quit if there's nothing to scroll here
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
} else if (
// if setext set, indicates line after ---/===
state.setext || (
// line before ---/===
(!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
} else if (ch === "*" || ch === "_") {
var len = 1, before = stream.pos == 1 ? " " : stream.string.charAt(stream.pos - 2)
while (len < 3 && stream.eat(ch)) len++
var after = stream.peek() || " "
// See http://spec.commonmark.org/0.27/#emphasis-and-strong-emphasis
- Create a ticketCreate a ticket
Function Display
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Display(place, doc, input) {
var d = this
this.input = input
// Covers bottom-right square when both scrollbars are present.
- Create a ticketCreate a ticket
Function moveVisually
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function moveVisually(cm, line, start, dir) {
var bidi = getOrder(line, cm.doc.direction)
if (!bidi) { return moveLogically(line, start, dir) }
if (start.ch >= line.text.length) {
start.ch = line.text.length
- Create a ticketCreate a ticket
Function onScrollWheel
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onScrollWheel(cm, e) {
var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y
var display = cm.display, scroll = display.scroller
// Quit if there's nothing to scroll here
- Create a ticketCreate a ticket
Function set
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
set: function(key, val, options) {
if (key == null) return this;
// Handle both `"key", value` and `{key: value}` -style arguments.
var attrs;
- Create a ticketCreate a ticket
Function baseIsEqualDeep
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, stackA, stackB) {
var objIsArr = isArray(object),
othIsArr = isArray(other),
objTag = arrayTag,
othTag = arrayTag;
- Create a ticketCreate a ticket