Closed mcgrews3 closed 9 years ago
While testing gulp usage of gulp-natural-sort today (10/26/2015) started getting undefined for String.naturalCompare usage. This fix adds a condition to see if natural-compare-lite returns a function instead of modifying the global String object.
Thanks for the PR!
While testing gulp usage of gulp-natural-sort today (10/26/2015) started getting undefined for String.naturalCompare usage. This fix adds a condition to see if natural-compare-lite returns a function instead of modifying the global String object.