Showing 58 of 115 total issues
File foundation.joyride.js
has 652 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.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';
Function events
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function () {
var self = this;
var offst = this.outerHeight($('.top-bar, [data-topbar]'));
$(this.scope)
.off('.fndtn.topbar')
Function events
has 128 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 379 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function ($, window, document, undefined) {
'use strict';
Foundation.libs.forms = {
name: 'forms',
File foundation.section.js
has 337 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*jslint unparam: true, browser: true, indent: 2 */
;(function ($, window, document, undefined) {
'use strict';
Function _init_events
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_init_events: function ($slides_container) {
var self = this,
$container = $slides_container.parent();
$(window)
File foundation.orbit.js
has 333 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs = Foundation.libs || {};
File foundation.js
has 324 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.
Class Configuration
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Configuration
def self.env
@env ||= new
end
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]'),
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 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 toggle_active
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toggle_active : function (e, self) {
var $this = $(this),
self = Foundation.libs.section,
region = $this.closest(self.settings.region_selector),
content = $this.siblings(self.settings.content_selector),
Function position_content
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
position_content : function (section, off) {
var self = this,
regions = section.children(self.settings.region_selector),
titles = regions
.map(function () {
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),
File foundation.reveal.js
has 265 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*jslint unparam: true, browser: true, indent: 2 */
;(function ($, window, document, undefined) {
'use strict';
Function _goto
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_goto: function($slides_container, index_or_direction, callback) {
var self = this,
$container = $slides_container.parent(),
$slides = $slides_container.children(),
$active_slide = $slides_container.find('.' + self.settings.active_slide_class),
Function expose
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
expose : function () {
var expose,
exposeCover,
el,
origCSS,
Function un_expose
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
un_expose : function () {
var exposeId,
el,
expose ,
origCSS,