resources/src/jquery.lengthLimit.js
Function lengthLimit
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function lengthLimit( trimFn, limit, filterFunction ) {
var allowNativeMaxlength = trimFn === trimByteLength;
// If the first argument is the function,
// set filterFunction to the first argument's value and ignore the second argument.