jaridmargolin / formatter.js

Format html inputs to match a specified pattern
http://firstopinion.github.io/formatter.js
2.48k stars 235 forks source link

Comma missed in sample of main documentation #5

Closed fdaugan closed 10 years ago

fdaugan commented 10 years ago
$('#credit-input').formatter({
  'pattern': '{{999}}-{{999}}-{{999}}-{{9999}}'
  'persistent': true
});

Should be read :

$('#credit-input').formatter({
  'pattern': '{{999}}-{{999}}-{{999}}-{{9999}}',
  'persistent': true
});