Destructure Lodash require
s
This commit is contained in:
parent
b7b6195cfc
commit
d9be6a0f94
13 changed files with 46 additions and 37 deletions
|
@ -1,10 +1,13 @@
|
|||
/* eslint-env browser */
|
||||
|
||||
const isFunction = require('lodash/isFunction');
|
||||
const isObject = require('lodash/isObject');
|
||||
const isString = require('lodash/isString');
|
||||
const head = require('lodash/head');
|
||||
const last = require('lodash/last');
|
||||
const {
|
||||
head,
|
||||
isFunction,
|
||||
isObject,
|
||||
isString,
|
||||
last,
|
||||
} = require('lodash');
|
||||
|
||||
|
||||
const db = require('../database');
|
||||
const { deferredToPromise } = require('../deferred_to_promise');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue