app/assets/javascripts/trunk8.js
Function truncate
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function truncate() {
var data = this.data('trunk8'),
settings = data.settings,
width = settings.width,
side = settings.side,
Function eatStr
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
eatStr: function (str, side, bite_size, fill) {
var length = str.length,
key = utils.eatStr.generateKey.apply(null, arguments),
half_length,
half_bite_size;