assets/javascripts/tag.js
Function tagSuggest
has 181 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.tagSuggest = function (options) {
var defaults = {
'matchClass' : 'tagMatches',
'tagContainer' : 'div',
'tagWrap' : 'span',
Function handleKeys
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handleKeys(ev) {
fromTab = false;
var type = ev.type;
var resetSelection = false;
Function showSuggestions
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showSuggestions(el, key) {
workingTags = el.value.split(settings.separator);
matches = [];
var i, html = '', chosenTags = {}, tagSelected = false;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return true;