Showing 6,856 of 14,752 total issues
Function addChangeToHistory
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addChangeToHistory(doc, change, selAfter, opId) {
var hist = doc.history;
hist.undone.length = 0;
var time = +new Date, cur;
var last;
- Create a ticketCreate a ticket
Function patchDisplay
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function patchDisplay(cm, updateNumbersFrom, dims) {
var display = cm.display, lineNumbers = cm.options.lineNumbers;
var container = display.lineDiv, cur = container.firstChild;
function rm(node) {
- Create a ticketCreate a ticket
Function runMode
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runMode(cm, text, mode, context, f, lineClasses, forceToEnd) {
var flattenSpans = mode.flattenSpans;
if (flattenSpans == null) { flattenSpans = cm.options.flattenSpans; }
var curStart = 0, curStyle = null;
var stream = new StringStream(text, cm.options.tabSize, context), style;
- Create a ticketCreate a ticket
Function wrapper
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wrapper (obj, child) {
var data = obj.results;
for (var i = 0; i < data.length; i++) {
var option = data[i];
- Create a ticketCreate a ticket
Function data
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.data = s ? $.grep(this.data, function (item, i) {
for (var j = 0; j < that.header.fields.length; j++) {
if (!that.header.searchables[j]) {
continue;
- Create a ticketCreate a ticket
Function _updateOrder
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_updateOrder($th) {
let O = this;
_log('TABLE / _updateOrder');
let field = $th.data('field');
- Create a ticketCreate a ticket
Function expandAllRows
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
BootstrapTable.prototype.expandAllRows = function (isSubTable) {
if (isSubTable) {
var $tr = this.$body.find(sprintf('> tr[data-index="%s"]', 0)),
that = this,
detailIcon = null,
- Create a ticketCreate a ticket
Function item
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SelectAdapter.prototype.item = function ($option) {
var data = {};
data = Utils.GetData($option[0], 'data');
- Create a ticketCreate a ticket
Function datepicker
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var datepicker = $.fn.datepicker = function ( option ) {
var args = Array.apply(null, arguments);
args.shift();
var internal_return,
this_return;
- Create a ticketCreate a ticket
Function d3_scale_quantile
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_scale_quantile(domain, range) {
var thresholds;
function rescale() {
var k = 0, q = range.length;
thresholds = [];
- Create a ticketCreate a ticket
Function stream
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
albersUsa.stream = function(stream) {
var lower48Stream = lower48.stream(stream), alaskaStream = alaska.stream(stream), hawaiiStream = hawaii.stream(stream);
return {
point: function(x, y) {
lower48Stream.point(x, y);
- Create a ticketCreate a ticket
Function wrapper
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wrapper (obj, child) {
var data = obj.results;
for (var i = 0; i < data.length; i++) {
var option = data[i];
- Create a ticketCreate a ticket
Function _keydown
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_keydown: function( event ) {
if ( event.altKey || event.ctrlKey ) {
return;
}
- Create a ticketCreate a ticket
Function 1
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.algebra = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
var Fraction = require('./src/fractions');
var Expression = require('./src/expressions').Expression;
var Equation = require('./src/equations');
var Parser = require('./src/parser');
- Create a ticketCreate a ticket
Function refreshPositions
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
refreshPositions: function(fast) {
// Determine whether items are being displayed horizontally
this.floating = this.items.length ?
this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :
- Create a ticketCreate a ticket
Function nodeAndOffsetInLineMap
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function nodeAndOffsetInLineMap(map, ch, bias) {
var node, start, end, collapse, mStart, mEnd
// First, search the line map for the text node corresponding to,
// or closest to, the target character.
for (var i = 0; i < map.length; i += 3) {
- Create a ticketCreate a ticket
Function copyState
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
copyState: function(s) {
return {
f: s.f,
prevLine: s.prevLine,
- Create a ticketCreate a ticket
Function addChangeToHistory
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addChangeToHistory(doc, change, selAfter, opId) {
var hist = doc.history
hist.undone.length = 0
var time = +new Date, cur
var last
- Create a ticketCreate a ticket
Function runMode
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runMode(cm, text, mode, context, f, lineClasses, forceToEnd) {
var flattenSpans = mode.flattenSpans
if (flattenSpans == null) { flattenSpans = cm.options.flattenSpans }
var curStart = 0, curStyle = null
var stream = new StringStream(text, cm.options.tabSize, context), style
- Create a ticketCreate a ticket
Function addChangeToHistory
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addChangeToHistory(doc, change, selAfter, opId) {
var hist = doc.history
hist.undone.length = 0
var time = +new Date, cur
var last
- Create a ticketCreate a ticket