js/chips.js
Function material_chip
has 233 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.material_chip = function (options) {
var self = this;
this.$el = $(this);
this.$document = $(document);
this.SELS = {
Function handleEvents
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.handleEvents = function() {
var SELS = self.SELS;
self.$document.off('click.chips-focus', SELS.CHIPS).on('click.chips-focus', SELS.CHIPS, function(e){
$(e.target).find(SELS.INPUT).focus();
File chips.js
has 252 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function ($) {
var materialChipsDefaults = {
data: [],
placeholder: '',
secondaryPlaceholder: '',