diff --git a/src/jquery.maskedinput.js b/src/jquery.maskedinput.js index 2228e8f..749da65 100644 --- a/src/jquery.maskedinput.js +++ b/src/jquery.maskedinput.js @@ -19,7 +19,7 @@ $.mask = { '*': "[A-Za-z0-9]" }, dataName: "rawMaskFn", - placeholder: '_', + placeholder: '_' }; $.fn.extend({ @@ -244,7 +244,8 @@ $.fn.extend({ var test = input.val(), lastMatch = -1, i, - c; + c, + pos; for (i = 0, pos = 0; i < len; i++) { if (tests[i]) { @@ -292,8 +293,7 @@ $.fn.extend({ }) .bind("focus.mask", function() { clearTimeout(caretTimeoutId); - var pos, - moveCaret; + var pos; focusText = input.val(); pos = checkVal();