app/assets/javascripts/tag-it.js
Function _create
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
// for handling static scoping inside callbacks
var that = this;
// There are 2 kinds of DOM nodes this widget can be instantiated on:
File tag-it.js
has 308 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* jQuery UI Tag-it!
*
* @version v2.0 (06/2011)
*
Function createTag
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createTag: function(value, additionalClass) {
var that = this;
// Automatically trims the value of leading and trailing whitespace.
value = $.trim(value);
Function removeTag
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeTag: function(tag, animate, removeOnly) {
var that = this;
if (this.options.pruneTags && !removeOnly) {
that.pruneTag(tag)