Showing 203 of 346 total issues
File jquery.form.wizard.js
has 392 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* jQuery wizard plug-in 3.0.5
*
*
* Copyright (c) 2011 Jan Sundman (jan.sundman[at]aland.net)
Function display
has 123 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display : function(eleAlignTo)
{
if ($(this.ele).is('.dp-disabled')) return;
eleAlignTo = eleAlignTo || this.ele;
File jquery-migrate-1.1.1.js
has 371 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery Migrate - v1.1.1 - 2013-02-16
* https://github.com/jquery/jquery-migrate
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors; Licensed MIT
*/
File foundation.orbit.js
has 369 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function ($, window, document, undefined) {
'use strict';
var noop = function() {};
Function events
has 114 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function () {
var self = this;
$(this.scope)
.off('.fndtn.topbar')
.on('click.fndtn.topbar', '.top-bar .toggle-topbar, [data-topbar] .toggle-topbar', function (e) {
Function _init
has 111 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_init: function() {
var wizard = this;
var formOptionsSuccess = this.options.formOptions.success;
var formOptionsComplete = this.options.formOptions.complete;
Function resize
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
resize: function(sections, ensure_has_active_region) {
var self = Foundation.libs.section,
section_container = $(self.settings.section_selector),
is_small_window = self.small(section_container),
Function shift
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
shift: function (direction) {
var slideDirection = direction;
//remember previous activeSlide
this.prevActiveSlide = this.activeSlide;
File foundation.js
has 337 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Foundation Responsive Library
* http://foundation.zurb.com
* Copyright 2013, ZURB
* Free to use under the MIT license.
File order.rb
has 324 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class Order < ApplicationRecord
include AASM
extend FriendlyId
friendly_id :number
include Presentation::OrderPresenter
Function _renderCalendar
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_renderCalendar : function()
{
// set the title...
$('h2', this.context).html(Date.monthNames[this.displayedMonth] + ' ' + this.displayedYear);
File foundation.section.js
has 322 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*jslint unparam: true, browser: true, indent: 2 */
;
(function($, window, document) {
'use strict';
Class Product
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Product < ApplicationRecord
extend FriendlyId
friendly_id :permalink, use: :finders
include Presentation::ProductPresenter
include ProductFilters
Consider simplifying this complex logical expression. Open
Open
if (successful && (!n || el.disabled || t == 'reset' || t == 'button' ||
(t == 'checkbox' || t == 'radio') && !el.checked ||
(t == 'submit' || t == 'image') && el.form && el.form.clk != el ||
tag == 'select' && el.selectedIndex == -1))
return null;
Class Variant
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Variant < ApplicationRecord
has_many :variant_suppliers
has_many :suppliers, through: :variant_suppliers
Class User
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class User < ApplicationRecord
include AASM
include TransactionAccountable
include UserCim
include Presentation::UserPresenter
Function renderCalendar
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderCalendar : function(s)
{
var dc = function(a)
{
return document.createElement(a);
File foundation.topbar.js
has 292 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*jslint unparam: true, browser: true, indent: 2 */
;(function ($, window, document, undefined) {
'use strict';
Function markup
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function markup(button) {
var len, j, n, i;
hash = clicked = button;
get();
$.extend(hash, { line:"",
File bbq.js
has 287 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
* http://benalman.com/projects/jquery-bbq-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman