Showing 246 of 804 total issues
File accordion.js
has 558 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* # Semantic UI - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
Function position
has 175 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
position: function(position, calculations) {
// exit conditions
if($target.length === 0 || $popup.length === 0) {
module.error(error.notFound);
File rating.js
has 455 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* # Semantic UI - Rating
* http://github.com/semantic-org/semantic-ui/
*
*
Function exports
has 167 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(gulp) {
var
// node dependencies
fs = require('fs'),
File site.js
has 444 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* # Semantic UI - Site
* http://github.com/semantic-org/semantic-ui/
*
*
File nag.js
has 440 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* # Semantic UI - Nag
* http://github.com/semantic-org/semantic-ui/
*
*
Function keydown
has 158 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
keydown: function(event) {
var
pressedKey = event.which,
isShortcutKey = module.is.inObject(pressedKey, keys)
;
Function setupIFrame
has 129 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setupIFrame(iframe,options) {
function setLimits() {
function addStyle(style) {
if ((Infinity !== settings[iframeId][style]) && (0 !== settings[iframeId][style])) {
iframe.style[style] = settings[iframeId][style] + 'px';
Function exports
has 117 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(callback) {
let
index = -1,
total = release.distributions.length,
Function exports
has 113 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(callback) {
let
index = -1,
total = release.components.length,
Function keydown
has 105 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
keydown: function(event) {
var
pressedKey = event.which,
isShortcutKey = module.is.inObject(pressedKey, keys)
;
Function exports
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(callback) {
var
index = -1,
total = release.components.length,
Function exports
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(callback) {
var
index = -1,
total = release.distributions.length,
Function creditCard
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
creditCard: function(cardNumber, cardTypes) {
var
cards = {
visa: {
pattern : /^4/,
Function stick
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
stick: function(scroll) {
var
cachedPosition = scroll || $scroll.scrollTop(),
cache = module.cache,
fits = cache.fits,
Function changeTab
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
changeTab: function(tabPath) {
var
pushStateAvailable = (window.history && window.history.pushState),
shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad),
remoteContent = (settings.auto || $.isPlainObject(settings.apiSettings) ),
File install.js
has 309 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*******************************
Install Task
*******************************/
/*
Function receiver
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function receiver(event) {
var processRequestFromParent = {
init: function initFromParent() {
function fireInit() {
initMsg = event.data;
Function query
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
query: function() {
if(module.is.disabled()) {
module.debug('Element is disabled API request aborted');
return;
Function calculations
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
calculations: function() {
var
$popupOffsetParent = module.get.offsetParent($popup),
targetElement = $target[0],
isWindow = ($boundary[0] == window),