jaridmargolin / formatter.js

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

Reuse the current pattern as default on 'resetPattern ' call #31

Closed fdaugan closed 10 years ago

fdaugan commented 10 years ago

Make optional the pattern during the call of 'resetPattern'.

jaridmargolin commented 10 years ago

Much appreciated on the PR and apologies for the delayed response. This looks great. Would love to see a test implemented.

https://github.com/firstopinion/formatter.js/blob/master/test/formatter.js#L289