Closed austinstarin closed 6 years ago
https://github.com/apostrophecms/apostrophe-demo-2018/blob/1688c20e3bad2047861d3386cef815e302b9de3a/lib/modules/helpers/index.js#L29
You can write these helpers, for example, using an arrow function and remove the return keyword.
return
_find: (haystack, needle) => _.find(haystack, needle)
https://github.com/apostrophecms/apostrophe-demo-2018/blob/1688c20e3bad2047861d3386cef815e302b9de3a/lib/modules/helpers/index.js#L29
You can write these helpers, for example, using an arrow function and remove the
return
keyword.