public/assets/semantic-ui/dropdown-e6bc8f641617bd9b0438839102dd0a4fe13785fc8e33b50207d25c1ca515a630.js
Function dropdown
has 1533 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.dropdown = function(parameters) {
var
$allModules = $(this),
$document = $(document),
File dropdown-e6bc8f641617bd9b0438839102dd0a4fe13785fc8e33b50207d25c1ca515a630.js
has 1639 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* # Semantic - Dropdown
* http://github.com/semantic-org/semantic-ui/
*
*
Function keydown
has 124 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
keydown: function(event) {
var
$currentlySelected = $item.not(className.filtered).filter('.' + className.selected).eq(0),
$activeItem = $menu.children('.' + className.active).eq(0),
$selectedItem = ($currentlySelected.length > 0)
Function hide
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hide: function(callback, $subMenu) {
var
$currentMenu = $subMenu || $menu,
duration = ($subMenu)
? (settings.duration * 0.9)
Function show
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show: function(callback, $subMenu) {
var
$currentMenu = $subMenu || $menu,
start = ($subMenu)
? function() {}
Function invoke
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
invoke: function(query, passedArguments, context) {
var
object = instance,
maxDepth,
found,
Function item
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
item: function(value, strict) {
var
$selectedItem = false
;
value = (value !== undefined)
Function filter
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
filter: function(searchTerm) {
var
$results = $(),
escapedTerm = module.escape.regExp(searchTerm),
exactRegExp = new RegExp('^' + escapedTerm, 'igm'),
Function selectValues
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
selectValues: function() {
var
select = {}
;
select.values = (settings.sortSelect)
Function mouseEvents
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
mouseEvents: function() {
module.verbose('Mouse detected binding mouse events');
if( module.is.searchSelection() ) {
$module
.on('mousedown' + eventNamespace, selector.menu, module.event.menu.activate)
Function scrollPosition
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
scrollPosition: function($item, forceScroll) {
var
edgeTolerance = 5,
hasActive,
offset,
Function select
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
select: function() {
var
selectValues = module.get.selectValues()
;
module.debug('Dropdown initialized on a select', selectValues);
Function display
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
display: function() {
var
title = settings.name + ':',
totalTime = 0
;
Function easeOutQuad
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
easeOutQuad: function (x, t, b, c, d) {