Showing 3,976 of 3,976 total issues
Function transition
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
transition: function( other, distance ) {
var end = color( other ),
spaceName = end._space(),
space = spaces[ spaceName ],
startColor = this.alpha() === 0 ? color( "transparent" ) : this,
Function galleria
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.galleria = function( options ) {
var selector = this.selector;
// try domReady if element not found
Function toHaveFailedExpecationsForRunnable
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toHaveFailedExpecationsForRunnable: function(util, customeEqualityTesters) {
return {
compare: function(actual, fullName, expectedFailures) {
var foundRunnable = false, expectations = true, foundFailures = [];
for (var i = 0; i < actual.calls.count(); i++) {
Function _create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
this.originalCss = {
display: this.element[ 0 ].style.display,
width: this.element[ 0 ].style.width,
minHeight: this.element[ 0 ].style.minHeight,
Function complete
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
complete: function() {
if ( el.to.opacity === 0 ) {
el.css( "opacity", el.from.opacity );
}
if ( mode === "hide" ) {
Function _drop
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_drop: function( event, custom ) {
var draggable = custom || $.ui.ddmanager.current,
childrenIntersection = false;
Function transition
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
transition: function( other, distance ) {
var end = color( other ),
spaceName = end._space(),
space = spaces[ spaceName ],
startColor = this.alpha() === 0 ? color( "transparent" ) : this,
Function _refreshValue
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshValue: function() {
var value = this.options.value,
percentage = this._percentage();
this.valueDiv
Function _initialActive
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initialActive: function() {
var active = this.options.active,
collapsible = this.options.collapsible,
locationHash = location.hash.substring( 1 );
Function _refresh
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refresh: function() {
this._setupDisabled( this.options.disabled );
this._setupEvents( this.options.event );
this._setupHeightStyle( this.options.heightStyle );
Function debounce
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function debounce(func, wait, immediate) {
var timeout, args, context, timestamp, result;
var later = function() {
var last = +new Date() - timestamp;
Function addClass
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( jQuery.isFunction( value ) ) {
Function computeEventResize
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
computeEventResize: function(type, startSpan, endSpan, event) {
var calendar = this.view.calendar;
var delta = this.diffDates(endSpan[type], startSpan[type]);
var resizeLocation; // zoned event date properties
var defaultDuration;
Function finish
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
finish: function( type ) {
if ( type !== false ) {
type = type || "fx";
}
return this.each( function() {
Function off
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
off: function( types, selector, fn ) {
var handleObj, type;
if ( types && types.preventDefault && types.handleObj ) {
// ( event ) dispatched jQuery.Event
Function initialize
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initialize: function() {
module.verbose('Initializing module');
var
prompt = $prompt[0],
inputEvent = (prompt !== undefined && prompt.oninput !== undefined)
Function generateResults
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
generateResults: function(response) {
module.debug('Generating html from response', response);
var
template = settings.templates[settings.type],
isProperObject = ($.isPlainObject(response.results) && !$.isEmptyObject(response.results)),
Function renderSegPopoverContent
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderSegPopoverContent: function(row, col, segs) {
var view = this.view;
var isTheme = view.opt('theme');
var title = this.getCellDate(row, col).format(view.opt('dayPopoverFormat'));
var content = $(
Function query
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
query: function() {
var
searchTerm = module.get.value(),
cachedHTML = module.read.cachedHTML(searchTerm)
;
Function initialize
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initialize: function() {
if(settings.context) {
$context = $(settings.context);
}
else {