Showing 3,238 of 3,238 total issues
Function when
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( singleValue ) {
var
// count of uncompleted subordinates
remaining = arguments.length,
Function when
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( singleValue ) {
var
// count of uncompleted subordinates
remaining = arguments.length,
Function offset
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
offset: function( options ) {
// Preserve chaining for setter
if ( arguments.length ) {
return options === undefined ?
Function remove
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
remove: function( owner, key ) {
var i,
cache = owner[ this.expando ];
if ( cache === undefined ) {
Function offset
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
offset: function( options ) {
// Preserve chaining for setter
if ( arguments.length ) {
return options === undefined ?
Function augmentWidthOrHeight
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
var i,
val = 0;
// If we already have the right measurement, avoid augmentation
Function offset
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
offset: function( options ) {
// Preserve chaining for setter
if ( arguments.length ) {
return options === undefined ?
Function remove
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
remove: function( owner, key ) {
var i,
cache = owner[ this.expando ];
if ( cache === undefined ) {
Function augmentWidthOrHeight
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
var i,
val = 0;
// If we already have the right measurement, avoid augmentation
Function when
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( singleValue ) {
var
// count of uncompleted subordinates
remaining = arguments.length,
Function defaultDate
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
picker.defaultDate = function (defaultDate) {
///<signature helpKeyword="$.fn.datetimepicker.defaultDate">
///<summary>Returns a moment with the options.defaultDate option configuration or false if not set</summary>
///<returns type="Moment">date.clone()</returns>
///</signature>
Function enabledHours
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
picker.enabledHours = function (hours) {
///<signature helpKeyword="$.fn.datetimepicker.enabledHours">
///<summary>Returns an array with the currently set enabled hours on the component.</summary>
///<returns type="array">options.enabledHours</returns>
///</signature>
Function addEventListener
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addEventListener: function (types, fn, context) { // (String, Function[, Object]) or (Object[, Object])
// types can be a map of types/handlers
if (L.Util.invokeEach(types, this.addEventListener, this, fn, context)) { return this; }
Function disabledHours
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
picker.disabledHours = function (hours) {
///<signature helpKeyword="$.fn.datetimepicker.disabledHours">
///<summary>Returns an array with the currently set disabled hours on the component.</summary>
///<returns type="array">options.disabledHours</returns>
///</signature>
Function formatDate
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
formatDate: function(date, format, language){
if (!date)
return '';
if (typeof format === 'string')
format = DPGlobal.parseFormat(format);
Function extractStacktrace
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function extractStacktrace( e, offset ) {
offset = offset === undefined ? 4 : offset;
var stack, include, i;
Function object
has 26 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 object
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
object: function( map, stack ) {
var keys, key, val, i, nonEnumerableProperties,
ret = [];
if ( dump.maxDepth && dump.depth > dump.maxDepth ) {
Function diffHalfMatchI
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function diffHalfMatchI( longtext, shorttext, i ) {
var seed, j, bestCommon, prefixLength, suffixLength,
bestLongtextA, bestLongtextB, bestShorttextA, bestShorttextB;
// Start with a 1/4 length substring at position i as a seed.
seed = longtext.substring( i, i + Math.floor( longtext.length / 4 ) );
Function typeOf
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
typeOf: function( obj ) {
var type;
if ( obj === null ) {
type = "null";
} else if (typeof obj === "undefined") {