Showing 3,976 of 3,976 total issues
Function specDone
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
proto.reportSpecResults = proto.specDone = function(spec) {
if(spec.results) { //jasmine 1.x
var specResult = spec.results()
if(specResult.skipped) {
this.skipped_or_pending_specs++;
Function compileNode
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Op.prototype.compileNode = function(o) {
var answer, isChain, lhs, ref3, ref4, rhs;
isChain = this.isChainable() && this.first.isChainable();
if (!isChain) {
this.first.front = this.front;
Function access
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
length = elems.length,
bulk = key == null;
Function QueryString
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jasmineRequire.QueryString = function() {
function QueryString(options) {
this.navigateWithNewParam = function(key, value) {
options.getWindowLocation().search = this.fullStringWithNewParam(key, value);
Function dayOfYearFromWeekInfo
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function dayOfYearFromWeekInfo(config) {
var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow;
w = config._w;
if (w.GG != null || w.W != null || w.E != null) {
Function close
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
close: function( event ) {
var tooltip,
that = this,
target = $( event ? event.currentTarget : this.element ),
tooltipData = this._find( target );
Function _respectSize
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_respectSize: function( data ) {
var o = this._vBoundaries,
a = this.axis,
ismaxw = this._isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width),
Function _respectSize
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_respectSize: function( data ) {
var o = this._vBoundaries,
a = this.axis,
ismaxw = this._isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width),
Function intersect
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.ui.intersect = (function() {
function isOverAxis( x, reference, size ) {
return ( x >= reference ) && ( x < ( reference + size ) );
}
Function _optionDatepicker
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_optionDatepicker: function(target, name, value) {
var settings, date, minDate, maxDate,
inst = this._getInst(target);
if (arguments.length === 2 && typeof name === "string") {
Function bind
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bind: function( elem, value ) {
// todo: revise if alternative tooltip is needed for mobile devices
if (Galleria.TOUCH) {
return;
Function raise
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Galleria.raise = function( msg, fatal ) {
var type = fatal ? 'Fatal error' : 'Error',
css = {
Function _optionDatepicker
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_optionDatepicker: function(target, name, value) {
var settings, date, minDate, maxDate,
inst = this._getInst(target);
if (arguments.length === 2 && typeof name === "string") {
Function intersect
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.ui.intersect = (function() {
function isOverAxis( x, reference, size ) {
return ( x >= reference ) && ( x < ( reference + size ) );
}
Function _respectSize
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_respectSize: function( data ) {
var o = this._vBoundaries,
a = this.axis,
ismaxw = this._isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width),
Function close
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
close: function( event ) {
var tooltip,
that = this,
target = $( event ? event.currentTarget : this.element ),
tooltipData = this._find( target );
Function formatRangeWithChunks
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function formatRangeWithChunks(date1, date2, chunks, separator, isRTL) {
var unzonedDate1 = date1.clone().stripZone(); // for formatSimilarChunk
var unzonedDate2 = date2.clone().stripZone(); // "
var chunkStr; // the rendering of the chunk
var leftI;
Function scrollPosition
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
scrollPosition: function($item, forceScroll) {
var
edgeTolerance = 5,
hasActive,
offset,
Function adjustCSS
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function adjustCSS( elem, prop, valueParts, tween ) {
var adjusted,
scale = 1,
maxIterations = 20,
currentValue = tween ?
Function dispatch
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function( nativeEvent ) {
// Make a writable jQuery.Event from the native event object
var event = jQuery.event.fix( nativeEvent );