Showing 3,238 of 3,238 total issues
Function hide
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hide = function () {
var transitioning = false;
if (!widget) {
return picker;
}
Function clipPolygon
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
L.PolyUtil.clipPolygon = function (points, bounds) {
var clippedPoints,
edges = [1, 4, 2, 8],
i, j, k,
a, b,
Function invalidateSize
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invalidateSize: function (options) {
if (!this._loaded) { return this; }
options = L.extend({
animate: false,
Function object
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"object" : function(b, a) {
var i, j, loop;
var eq = true; // unless we can proove it
var aProperties = [], bProperties = []; // collection of
// strings
Function diffCommonOverlap
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DiffMatchPatch.prototype.diffCommonOverlap = function( text1, text2 ) {
var text1Length, text2Length, textLength,
best, length, pattern, found;
// Cache the text lengths to prevent multiple calls.
text1Length = text1.length;
Function applyPlacement
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tooltip.prototype.applyPlacement = function (offset, placement) {
var $tip = this.tip()
var width = $tip[0].offsetWidth
var height = $tip[0].offsetHeight
Function applyPlacement
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tooltip.prototype.applyPlacement = function (offset, placement) {
var $tip = this.tip()
var width = $tip[0].offsetWidth
var height = $tip[0].offsetHeight
Function configFromStringAndArray
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function configFromStringAndArray(config) {
var tempConfig,
bestMoment,
scoreToBeat,
Function configFromStringAndArray
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function configFromStringAndArray(config) {
var tempConfig,
bestMoment,
scoreToBeat,
Function configFromStringAndArray
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function configFromStringAndArray(config) {
var tempConfig,
bestMoment,
scoreToBeat,
Function removeClass
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( jQuery.isFunction( value ) ) {
Function speed
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.speed = function( speed, easing, fn ) {
var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
complete: fn || !fn && easing ||
jQuery.isFunction( speed ) && speed,
duration: speed,
Function removeClass
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( jQuery.isFunction( value ) ) {
Function removeClass
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( jQuery.isFunction( value ) ) {
Function speed
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.speed = function( speed, easing, fn ) {
var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
complete: fn || !fn && easing ||
jQuery.isFunction( speed ) && speed,
duration: speed,
Function datetimepicker
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.datetimepicker = function (options) {
options = options || {};
var args = Array.prototype.slice.call(arguments, 1),
isInstance = true,
Function _onDragEnd
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_onDragEnd: function (e) {
var map = this._map,
options = map.options,
delay = +new Date() - this._lastTime,
Function dateUpdated
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dateUpdated: function(e){
// `this.updating` is a workaround for preventing infinite recursion
// between `changeDate` triggering and `setUTCDate` calling. Until
// there is a better mechanism.
if (this.updating)
Function updateDecades
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateDecades = function () {
var decadesView = widget.find('.datepicker-decades'),
decadesViewHeader = decadesView.find('th'),
startDecade = moment({ y: viewDate.year() - (viewDate.year() % 100) - 1 }),
endDecade = startDecade.clone().add(100, 'y'),
Function dateUpdated
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dateUpdated: function(e){
// `this.updating` is a workaround for preventing infinite recursion
// between `changeDate` triggering and `setUTCDate` calling. Until
// there is a better mechanism.
if (this.updating)