Skip to content

Commit

Permalink
Merge pull request #2 from elo7/remove-unused-var
Browse files Browse the repository at this point in the history
Remove unused variable
  • Loading branch information
rapahaeru authored Apr 27, 2017
2 parents 3ae12b4 + c47f075 commit 986ac5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions mask-amd.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ define('mask', ['doc'], function($) {

var applyMask = function(el) {
var pattern = el.getAttribute("mask"),
patternRegex = "";
var _currentValue = el.value;
_currentValue = el.value;

var addletter = function(input, key, e) {
var patternLetter = pattern.charAt(input.value.length - 1),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elo7-mask-amd",
"version": "1.0.3",
"version": "1.0.4",
"description": "Dynamic mask for numeric fields formatting, like monetary, weight, measure and documents.",
"main": "mask-amd.js",
"scripts": {
Expand Down

0 comments on commit 986ac5f

Please sign in to comment.