Update formatter.js
Update formatter.js
Merge pull request #31 from fabdouglas/patch-2

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