Align indentations

This commit is contained in:
Michał Lipiński
2019-08-20 12:13:07 +02:00
parent f90d0aec23
commit 8b441a506b
11 changed files with 34 additions and 31 deletions

View File

@@ -29,9 +29,9 @@ function split(string, separator, limit) {
return []
}
if (string && (
typeof separator == 'string' ||
typeof separator == 'string' ||
(separator != null && !isRegExp(separator))
)) {
)) {
if (!separator && hasUnicode(string)) {
return castSlice(stringToArray(string), 0, limit)
}