This file ( 642B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
try {
const _ = require('lodash');
_.mixin({'pascalCase': _.flow(_.camelCase, _.upperFirst)});
_.dotCase = (name) => {
return _.snakeCase(name).replace(/_/g, '.');
}
const originalIsEmpty = _.isEmpty
_.isEmpty = (value) => {
const originalResult = originalIsEmpty(value)
if (originalResult && value) {
const objectSymbols = Object.getOwnPropertySymbols(value);
return objectSymbols.length === 0
}
return originalResult
}
module.exports = _;
} catch (e) {
console.warn('corifeus-utils warn: looks like lodash is not in you dependecies')
}