Showing 169 of 403 total issues
Avoid deeply nested control flow statements. Open
Open
if (typeof cell == 'object' ) Handsontable.Dom.removeClass(cell,classNames[s]);
Avoid deeply nested control flow statements. Open
Open
if (typeof cell == 'object' ) Handsontable.Dom.addClass(cell,classNames[s]);
Avoid deeply nested control flow statements. Open
Open
if (typeof cell == 'object' ) Handsontable.Dom.removeClass(cell,classNames[s]);
Avoid deeply nested control flow statements. Open
Open
if (min > 0) {
value = value / min;
}
Consider simplifying this complex logical expression. Open
Open
if (value === 0 && zeroFormat !== null) {
return zeroFormat;
} else {
// see if we should use parentheses for negative number or if we should prefix with a sign
// if both are present we default to parentheses
Function selectCellByProp
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.selectCellByProp = function (row, prop, endRow, endProp, scrollToCell) {
Function alter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
alter: function (action, index, amount, source, keepEmptyRows) {
Function getSetting
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Walkontable.prototype.getSetting = function (key, param1, param2, param3, param4) {
Function afterRenderer
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
afterRenderer: function (TD, row, col, prop, value) {
Function populateFromArray
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
populateFromArray: function (start, input, end, source, method) {
Function DEFAULT_CALLBACK
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Handsontable.Search.DEFAULT_CALLBACK = function (instance, row, col, data, testResult) {
Function getSetting
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
WalkontableSettings.prototype.getSetting = function (key, param1, param2, param3, param4) {
Function selectCell
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.selectCell = function (row, col, endRow, endCol, scrollToCell) {
Function alter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.alter = function (action, index, amount, source, keepEmptyRows) {
Avoid too many return
statements within this function. Open
Open
if (aDate > bDate) return sortOrder ? 1 : -1;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return getMethodFromProperties(Handsontable.helper.getPrototypeOf(properties));
Avoid too many return
statements within this function. Open
Open
return false;
Avoid too many return
statements within this function. Open
Open
return colIndex - rowHeaderCount - 1;
Avoid too many return
statements within this function. Open
Open
if (a[1] > b[1]) return sortOrder ? 1 : -1;