File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 44/// @module
55//----------------------------------------------------------------------------------------------------------------------
66
7- import _ from 'lodash' ;
7+ import find from 'lodash/find' ;
8+ import uniq from 'lodash/uniq' ;
9+ import remove from 'lodash/remove' ;
10+
11+ var _ = {
12+ find,
13+ uniq,
14+ remove
15+ } ;
816
917//----------------------------------------------------------------------------------------------------------------------
1018
Original file line number Diff line number Diff line change 44/// @module
55//----------------------------------------------------------------------------------------------------------------------
66
7- import _ from 'lodash' ;
7+ import map from 'lodash/map' ;
8+ import find from 'lodash/find' ;
9+ import some from 'lodash/some' ;
10+ import includes from 'lodash/includes' ;
11+ import isFunction from 'lodash/isFunction' ;
12+
813import Promise from 'bluebird' ;
914import TPGroup from './group' ;
1015
1116//----------------------------------------------------------------------------------------------------------------------
1217
18+ var _ = {
19+ map,
20+ find,
21+ some,
22+ includes,
23+ isFunction
24+ } ;
25+
1326var mapping = { permissions : 'permissions' , groups : 'groups' } ;
1427
1528//----------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments