Closed caoglish closed 7 years ago
Welcome to Voca's GitHub repo!
in document https://github.com/panzerdp/voca/blob/master/src/manipulate/pad_left.js https://vocajs.com/#padLeft shows:
v.padLeft('bird', 6, '-'); // => '--bird-'
v.padLeft('bird', 6, '-');
resrult: "--bird"
"--bird"
Browser/OS type: firefox/chrome
The document should be the mistake by my understand.
Hi @caoglish,
Thanks for reporting. :+1: The documentation fixed.
Welcome to Voca's GitHub repo!
Expected behavior :smile_cat:
in document https://github.com/panzerdp/voca/blob/master/src/manipulate/pad_left.js https://vocajs.com/#padLeft shows:
Actual behavior :crying_cat_face:
resrult:
"--bird"
Steps to reproduce :construction_worker:
Technical details: :wrench:
Browser/OS type: firefox/chrome
comments
The document should be the mistake by my understand.