Closed LinusU closed 10 years ago
The build fails because node v0.10 dosen't support filling with a longer string than one character (see #659).
How do you guys want to handle this? I think that using the whole string is just an extra feature and won't break any code already in place. This will also be the stable behaviour as soon as 0.12 is out the door so I think that we should implement it right away....
@LinusU, I'd prefer if we could try to stick as closely to the released Node version as possible. Could you break this up into two PRs: one with fill for a single character and the other for an entire string? We'll merge the compatible one immediately and rebase/merge the latter when 0.12 is released.
Closing in favour of #671 and #672.
This patch fixes #659.
All the current tests still passes and I've added some new ones as well.