lib/assets/javascripts/surveyor/jquery.maskedinput.js
Function mask
has 231 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
mask: function(mask, settings) {
var input,
defs,
tests,
partialPosition,
File jquery.maskedinput.js
has 290 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Masked Input plugin for jQuery
Copyright (c) 2007-2013 Josh Bush (digitalbush.com)
Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license)
Version: 1.3.1
Function checkVal
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkVal(allow) {
//try to place characters where they belong
var test = input.val(),
lastMatch = -1,
i,
Function keypressEvent
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function keypressEvent(e) {
var k = e.which,
pos = input.caret(),
p,
c,
Function caret
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
caret: function(begin, end) {
var range;
if (this.length === 0 || this.is(":hidden")) {
return;