Closed kaicarver closed 8 years ago
the cli usage doc did not reflect the current default list of elements localized:
it was:
$ s18n help extract ... -e, --elements [elems] html elements to localize [default: 'title,p,h1,h2,h3,h4,h5,h6' | none: '.']
but the default in lib/extract.js is:
lib/extract.js
options.elements = arrayify(options.elements) || ['title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'small', 'a', 'button'];
Coverage remained the same at 100.0% when pulling f985dbec76e58289da8a9de35c83b4d25fd40a59 on kaicarver:master into a1fecfc8c52d752362f70357573b5c43df3d9f31 on bitjson:master.
Looks great, thanks!
the cli usage doc did not reflect the current default list of elements localized:
it was:
but the default in
lib/extract.js
is: