Skip to content

Commit 8b441a5

Browse files
committed
Align indentations
1 parent f90d0ae commit 8b441a5

11 files changed

+34
-31
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
*.log*
33
doc/*.html
44
node_modules
5+
*.code-workspace
6+
*.sublime-project
7+
*.sublime-workspace

.internal/arrayLikeKeys.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ function arrayLikeKeys(value, inherited) {
2929
for (const key in value) {
3030
if ((inherited || hasOwnProperty.call(value, key)) &&
3131
!(skipIndexes && (
32-
// Safari 9 has enumerable `arguments.length` in strict mode.
33-
(key == 'length' ||
32+
// Safari 9 has enumerable `arguments.length` in strict mode.
33+
(key == 'length' ||
3434
// Skip index properties.
3535
isIndex(key, length))
3636
))) {

.internal/baseIntersection.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ function baseIntersection(arrays, iteratee, comparator) {
4747

4848
value = (comparator || value !== 0) ? value : 0
4949
if (!(seen
50-
? cacheHas(seen, computed)
51-
: includes(result, computed, comparator)
52-
)) {
50+
? cacheHas(seen, computed)
51+
: includes(result, computed, comparator)
52+
)) {
5353
othIndex = othLength
5454
while (--othIndex) {
5555
const cache = caches[othIndex]
5656
if (!(cache
57-
? cacheHas(cache, computed)
58-
: includes(arrays[othIndex], computed, comparator))
59-
) {
57+
? cacheHas(cache, computed)
58+
: includes(arrays[othIndex], computed, comparator))
59+
) {
6060
continue outer
6161
}
6262
}

.internal/baseIsMatch.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ function baseIsMatch(object, source, matchData, customizer) {
2929
while (index--) {
3030
data = matchData[index]
3131
if ((noCustomizer && data[2])
32-
? data[1] !== object[data[0]]
33-
: !(data[0] in object)
34-
) {
32+
? data[1] !== object[data[0]]
33+
: !(data[0] in object)
34+
) {
3535
return false
3636
}
3737
}
@@ -51,9 +51,9 @@ function baseIsMatch(object, source, matchData, customizer) {
5151
result = customizer(objValue, srcValue, key, object, source, stack)
5252
}
5353
if (!(result === undefined
54-
? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
55-
: result
56-
)) {
54+
? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)
55+
: result
56+
)) {
5757
return false
5858
}
5959
}

.internal/equalArrays.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
6969
break
7070
}
7171
} else if (!(
72-
arrValue === othValue ||
72+
arrValue === othValue ||
7373
equalFunc(arrValue, othValue, bitmask, customizer, stack)
74-
)) {
74+
)) {
7575
result = false
7676
break
7777
}

.internal/equalObjects.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
6060
}
6161
// Recursively compare objects (susceptible to call stack limits).
6262
if (!(compared === undefined
63-
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
64-
: compared
65-
)) {
63+
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
64+
: compared
65+
)) {
6666
result = false
6767
break
6868
}

.internal/isIterateeCall.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ function isIterateeCall(value, index, object) {
2020
}
2121
const type = typeof index
2222
if (type == 'number'
23-
? (isArrayLike(object) && isIndex(index, object.length))
24-
: (type == 'string' && index in object)
25-
) {
23+
? (isArrayLike(object) && isIndex(index, object.length))
24+
: (type == 'string' && index in object)
25+
) {
2626
return eq(object[index], value)
2727
}
2828
return false

.internal/stringToPath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const rePropName = RegExp(
1414
')\\]'+ '|' +
1515
// Or match "" as the space between consecutive dots or empty brackets.
1616
'(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))'
17-
, 'g')
17+
, 'g')
1818

1919
/**
2020
* Converts `string` to a property path array.

maxBy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ function maxBy(array, iteratee) {
2727
const current = iteratee(value)
2828

2929
if (current != null && (computed === undefined
30-
? (current === current && !isSymbol(current))
31-
: (current > computed)
32-
)) {
30+
? (current === current && !isSymbol(current))
31+
: (current > computed)
32+
)) {
3333
computed = current
3434
result = value
3535
}

minBy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ function minBy(array, iteratee) {
2727
const current = iteratee(value)
2828

2929
if (current != null && (computed === undefined
30-
? (current === current && !isSymbol(current))
31-
: (current < computed)
32-
)) {
30+
? (current === current && !isSymbol(current))
31+
: (current < computed)
32+
)) {
3333
computed = current
3434
result = value
3535
}

split.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ function split(string, separator, limit) {
2929
return []
3030
}
3131
if (string && (
32-
typeof separator == 'string' ||
32+
typeof separator == 'string' ||
3333
(separator != null && !isRegExp(separator))
34-
)) {
34+
)) {
3535
if (!separator && hasUnicode(string)) {
3636
return castSlice(stringToArray(string), 0, limit)
3737
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy