Skip to content

Commit

Permalink
Build with vuejs-tips#64
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartłomiej Szubert committed Aug 20, 2018
1 parent c13bbee commit e481c89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/vue-the-mask.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/dynamic-mask.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default function dynamicMask (maskit, masks, tokens) {
masks = masks.sort((a, b) => a.length - b.length)
masks = masks.slice().sort((a, b) => a.length - b.length)
return function (value, mask, masked = true) {
var i = 0
while (i < masks.length) {
Expand Down

0 comments on commit e481c89

Please sign in to comment.