Showing 52 of 98 total issues
File bootstrap.js
has 1412 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* ===================================================
* bootstrap-transition.js v2.1.1
* http://twitter.github.com/bootstrap/javascript.html#transitions
* ===================================================
* Copyright 2012 Twitter, Inc.
File jquery.fancybox.js
has 1390 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* fancyBox - jQuery Plugin
* version: 2.1.0 (Mon, 20 Aug 2012)
* @requires jQuery v1.6 or later
*
Function ajaxSubmit
has 515 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.ajaxSubmit = function(options) {
/*jshint scripturl:true */
// fast fail if nothing selected (http://dev.jquery.com/ticket/2752)
if (!this.length) {
File jquery.form.js
has 790 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery Form Plugin
* version: 3.20 (20-NOV-2012)
* @requires jQuery v1.5 or later
*
Function fileUploadIframe
has 346 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fileUploadIframe(a) {
var form = $form[0], el, i, s, g, id, $io, io, xhr, sub, n, timedOut, timeoutHandle;
var useProp = !!$.fn.prop;
var deferred = $.Deferred();
Function a
has 211 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var a = function () {
function e(a) {
return Array.isArray ? Array.isArray(a) : a.constructor.toString().indexOf("Array") != -1
}
Consider simplifying this complex logical expression. Open
Open
if (!navigator.id.request || navigator.id._shimmed) {
var c = "https://login.persona.org", d = navigator.userAgent, e = d.indexOf("Fennec/") != -1 || d.indexOf("Firefox/") != -1 && d.indexOf("Android") != -1, f = e ? undefined : "menubar=0,location=1,resizable=1,scrollbars=1,status=0,dialog=1,minimizable=1,width=700,height=375", g, h = {login:null, logout:null, ready:null}, i, j = undefined;
function k(a) {
a !== !0;
File include.js
has 464 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Uncompressed source can be found at https://login.persona.org/include.orig.js
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
Function _setDimension
has 161 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setDimension: function () {
var viewport = F.getViewport(),
steps = 0,
canShrink = false,
canExpand = false,
Function build
has 157 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return{build:function (b) {
var g = function (a) {
if (b.debugOutput && window.console && window.console.log) {
try {
typeof a != "string" && (a = JSON.stringify(a))
Function cb
has 129 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function cb(e) {
if (xhr.aborted || callbackProcessed) {
return;
}
try {
Function open
has 98 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
open: function (group, opts) {
if (!group) {
return;
}
Function _start
has 98 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_start: function (index) {
var coming = {},
obj,
href,
type,
Function _afterLoad
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_afterLoad: function () {
var coming = F.coming,
previous = F.current,
placeholder = 'fancybox-placeholder',
current,
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;
Function doSubmit
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function doSubmit() {
// make sure form attrs are set
var t = $form.attr('target'), a = $form.attr('action');
// update form attrs in IE friendly way
Function formToArray
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.formToArray = function(semantic, elements) {
var a = [];
if (this.length === 0) {
return a;
}
Function bindEvents
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bindEvents: function () {
var current = F.current,
keys;
if (!current) {
Function init
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function (opts, obj) {
var that = this,
list,
thumbWidth = opts.width || 50,
thumbHeight = opts.height || 50,
Function show
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, show: function () {
var $tip
, inside
, pos
, actualWidth