|
@@ -43,7 +43,7 @@ Usage |
|
|
#### new Formatter(el, opts)
|
|
|
|
|
|
new Formatter(document.getElementById('credit-input'), {
|
|
|
- 'pattern': '{{999}}-{{999}}-{{999}}-{{9999}}'
|
|
|
+ 'pattern': '{{999}}-{{999}}-{{999}}-{{9999}}',
|
|
|
'persistent': true
|
|
|
});
|
|
|
|
|
@@ -56,7 +56,7 @@ Usage |
|
|
#### $(selector).formatter(opts)
|
|
|
|
|
|
$('#credit-input').formatter({
|
|
|
- 'pattern': '{{999}}-{{999}}-{{999}}-{{9999}}'
|
|
|
+ 'pattern': '{{999}}-{{999}}-{{999}}-{{9999}}',
|
|
|
'persistent': true
|
|
|
});
|
|
|
|
|
|
0 comments on commit
844e7a0