mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Consistency for eslint arrow-parens.
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
function forOwn(object, iteratee) {
|
function forOwn(object, iteratee) {
|
||||||
if (object != null) {
|
if (object != null) {
|
||||||
Object.keys(Object(object)).forEach((key) => iteratee(object[key], key, object))
|
Object.keys(Object(object)).forEach(key => iteratee(object[key], key, object))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ function functions(object) {
|
|||||||
if (object == null) {
|
if (object == null) {
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
return Object.keys(object).filter((key) => typeof object[key] == 'function')
|
return Object.keys(object).filter(key => typeof object[key] == 'function')
|
||||||
}
|
}
|
||||||
|
|
||||||
export default functions
|
export default functions
|
||||||
|
|||||||
Reference in New Issue
Block a user