Showing 406 of 624 total issues
File foundation.js
has 443 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Foundation Responsive Library
* http://foundation.zurb.com
* Copyright 2014, ZURB
* Free to use under the MIT license.
Function init
has 164 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init(plot) {
plot.hooks.processOptions.push(function (plot, options) {
$.each(plot.getAxes(), function(axisName, axis) {
var opts = axis.options;
Function init
has 160 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init(plot, classes) {
var Canvas = classes.Canvas;
// We only want to replace the functions once; the second time around
File foundation.clearing.js
has 433 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.clearing = {
name : 'clearing',
File foundation.orbit.js
has 410 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function ($, window, document, undefined) {
'use strict';
var noop = function () {};
Function support
has 143 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.support = (function() {
var support,
all,
a,
Function Callbacks
has 127 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.Callbacks = function( options ) {
// Convert options from String-formatted to Object-formatted if needed
// (we check in cache first)
options = typeof options === "string" ?
Consider simplifying this complex logical expression. Open
Open
if ( event.pageX == null && original.clientX != null ) {
eventDoc = event.target.ownerDocument || document;
doc = eventDoc.documentElement;
body = eventDoc.body;
File foundation.reveal.js
has 370 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.reveal = {
name : 'reveal',
File foundation.topbar.js
has 359 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.topbar = {
name : 'topbar',
Function getRule
has 114 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getRule(dt, zone, isUTC) {
var date = typeof dt === 'number' ? new Date(dt) : dt;
var ruleset = zone[1];
var basicOffset = zone[0];
Function init
has 114 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init( plot ) {
function findBottomSeries( s, allseries ) {
var i;
File jquery.flot.axislabels.js
has 354 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Axis Labels Plugin for flot.
http://github.com/markrcote/flot-axislabels
Original code is Copyright (c) 2010 Xuan Luo.
Function tickGenerator
has 112 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
axis.tickGenerator = function(axis) {
var ticks = [];
var d = dateGenerator(axis.min, opts);
var minSize = 0;
File foundation.dropdown.js
has 350 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.dropdown = {
name : 'dropdown',
Function events
has 109 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function (bar) {
var self = this,
S = this.S;
S(this.scope)
Function events
has 109 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
events : function (bar) {
var self = this,
S = this.S;
S(this.scope)
Function parseOptions
has 108 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseOptions(opts) {
$.extend(true, options, opts);
// $.extend merges arrays, rather than replacing them. When less
Function init
has 105 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init(plot) {
function findMatchingSeries(s, allseries) {
var res = null;
for (var i = 0; i < allseries.length; ++i) {
if (s == allseries[i])
Function drawPie
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function drawPie() {
var startAngle = Math.PI * options.series.pie.startAngle;
var radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.series.pie.radius;