Closed taylortdixon closed 7 years ago
Hi,
Passing in an empty string into the sentenceCase filter generates an error "Unable to get property 'replace' of undefined or null reference".
After stepping thru the code, I believe the culprit is the modifications to the fill functions at this commit https://github.com/nbubna/Case/commit/32894565e966af3bff2beb53ed453753dbcd4415#diff-6f9cd8468dcb32af7249d8e02dd3ab07.
Previously, you would return 's' if !s === true, however in the latest you do not return anything, causing it to return undefined.
-Taylor
Fixed in v1.5.1
Awesome @nbubna Thank you!
Hi,
Passing in an empty string into the sentenceCase filter generates an error "Unable to get property 'replace' of undefined or null reference".
After stepping thru the code, I believe the culprit is the modifications to the fill functions at this commit https://github.com/nbubna/Case/commit/32894565e966af3bff2beb53ed453753dbcd4415#diff-6f9cd8468dcb32af7249d8e02dd3ab07.
Previously, you would return 's' if !s === true, however in the latest you do not return anything, causing it to return undefined.
-Taylor