Showing 58 of 126 total issues
File foundation.joyride.js
has 657 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*jslint unparam: true, browser: true, indent: 2 */
(function ($, window, document, undefined) {
'use strict';
Function Orbit
has 228 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Orbit = function(el, settings) {
// Don't reinitialize plugin
if (el.hasClass(settings.slides_container_class)) {
return this;
}
Function events
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events: function () {
var self = this;
$(this.scope)
.on('click.fndtn.forms', 'form.custom span.custom.checkbox', function (e) {
File foundation.forms.js
has 401 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function ($, window, document, undefined) {
'use strict';
Foundation.libs.forms = {
name : 'forms',
File foundation.clearing.js
has 394 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*jslint unparam: true, browser: true, indent: 2 */
;(function ($, window, document, undefined) {
'use strict';
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 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),
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 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';
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';
File foundation.reveal.js
has 285 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*jslint unparam: true, browser: true, indent: 2 */
;(function ($, window, document, undefined) {
'use strict';
Function show
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function (init) {
var $timer = null;
// are we paused?
if (this.settings.$li === undefined
Function events
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function () {
var self = this;
$(this.scope).on('arrival.fndtn.magellan', '[data-magellan-arrival]', function (e) {
var $destination = $(this),
$expedition = $destination.closest('[data-magellan-expedition]'),
File foundation.placeholder.js
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* The MIT License
*
* Copyright (c) 2012 James Allardice
*
Function append_custom_select
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
append_custom_select: function (idx, sel) {
var self = Foundation.libs.forms,
$this = $(sel),
$customSelect = $this.next('div.custom.dropdown'),
$customList = $customSelect.find('ul'),
Function init
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
self.init = function() {
self.build_markup();
if (settings.timer) {timer = self.create_timer(); timer.start();}
animate = new FadeAnimation(settings, slides_container);
if (settings.animation === 'slide')
Function pos_default
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
pos_default : function (init, resizing) {
var half_fold = Math.ceil($(window).height() / 2),
tip_position = this.settings.$next_tip.offset(),
$nub = this.settings.$next_tip.find('.joyride-nub'),
nub_width = Math.ceil(this.outerWidth($nub) / 2),
Class GameState
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class GameState
DIAGONAL_ID = 'd'
REVERSE_DIAGONAL_ID = 'rd'
COLUMN_PREFIX = 'c'
ROW_PREFIX = 'r'
Function events
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function () {
var self = this;
$(this.scope)
.off('.fndtn.reveal')