Showing 22 of 52 total issues
File bootstrap-redu.js
has 1475 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* ===================================================
* bootstrap-transition.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#transitions
* ===================================================
* Copyright 2012 Twitter, Inc.
Function TokenList
has 541 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.TokenList = function (input, url_or_data, settings) {
//
// Initialization
//
File jquery.tokeninput.js
has 705 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* jQuery Plugin: Tokenizing Autocomplete Text Entry
* Version 1.6.0
*
* Copyright (c) 2009 James Smith (http://loopj.com)
Function placeHolder
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.placeHolder = function(config) {
log('init placeHolder');
var o = this;
var l = $(this).length;
this.options = $.extend({
Function autosize
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.autosize = function (className) {
return this.each(function () {
var
ta = this,
$ta = $(ta),
File holder.js
has 269 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Holder - 1.7 - client side image placeholders
(c) 2012 Ivan Malopinsky / http://imsky.co
Function ajaxBefore
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, ajaxBefore: function(options) {
settings = $.extend(settings, options)
var $this = $(this)
Function run_search
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function run_search(query) {
var cache_key = query + computeURL();
var cached_results = cache.get(cache_key);
if(cached_results) {
populate_dropdown(query, cached_results);
Function show
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, show: function () {
var $tip
, inside
, pos
, actualWidth
Function populate_dropdown
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function populate_dropdown (query, results) {
if(results && results.length) {
dropdown.empty();
var dropdown_ul = $(document.createElement('ul'))
.addClass(settings.classes.suggestions)
Function replaceSubTitle
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
replaceSubTitle: function(event, filterGroup) {
var checkedBoxes = filterGroup.find('input[type="checkbox"]:checked')
, filter = filterGroup.find('.' + event.data.settings.filterClass)
, subTitleText = ''
Function run
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
app.run = function (o) {
var options = extend(settings, o),
images_nodes = selector(options.images),
elements = selector(options.elements),
preempted = true,
Function inviteByMail
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, inviteByMail: function(options) {
settings = $.extend(settings, options)
return this.each(function() {
var control = $(this)
Function scrollArrow
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, scrollArrow: function(options) {
var settings = $.extend({
// Caractere simbolizando uma seta para cima.
arrowUp: '↑'
// Caractere simbolizando uma seta para baixo.
Function insert_token
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function insert_token(item) {
var isAlreadyIn = false
listMix.find('.' + settings.classes.listMixItem).each(function() {
var id = $(this).find('.' + settings.classes.id).text()
Function init
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function(options) {
var settings = $.extend({
filterEverythingClass: 'filter-everything',
filterActiveClass: 'filter-active',
filterDropdownMenuClass: 'dropdown-menu',
Function styleInputFile
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
styleInputFile: function(options) {
var settings = $.extend({
buttonDefault: 'button-default'
, buttonText: 'Escolher arquivo'
, filePath: 'control-file-text'
Function countChars
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
countChars: function(options) {
var settings = $.extend({
characterCounterTemplate: $('<span class="character-counter legend"></span>')
}, options);
Function render
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function render(mode, el, holder, src) {
var dimensions = holder.dimensions,
theme = holder.theme,
text = holder.text;
Function add_token
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function add_token (item) {
var callback = settings.onAdd;
// See if the token already exists and select it if we don't want duplicates
if(token_count > 0 && settings.preventDuplicates) {