Debian Codegraph @

lib/lodash.js

raw symbols SCIP
1 /* global window */
2
3 var lodash;
4
5 if (typeof require === "function") {
6 try {
7 lodash = {
8 cloneDeep: require("lodash/cloneDeep"),
9 constant: require("lodash/constant"),
10 defaults: require("lodash/defaults"),
11 each: require("lodash/each"),
12 filter: require("lodash/filter"),
13 find: require("lodash/find"),
14 flatten: require("lodash/flatten"),
15 forEach: require("lodash/forEach"),
16 forIn: require("lodash/forIn"),
17 has: require("lodash/has"),
18 isUndefined: require("lodash/isUndefined"),
19 last: require("lodash/last"),
20 map: require("lodash/map"),
21 mapValues: require("lodash/mapValues"),
22 max: require("lodash/max"),
23 merge: require("lodash/merge"),
24 min: require("lodash/min"),
25 minBy: require("lodash/minBy"),
26 now: require("lodash/now"),
27 pick: require("lodash/pick"),
28 range: require("lodash/range"),
29 reduce: require("lodash/reduce"),
30 sortBy: require("lodash/sortBy"),
31 uniqueId: require("lodash/uniqueId"),
32 values: require("lodash/values"),
33 zipObject: require("lodash/zipObject"),
34 };
35 } catch (e) {
36 // continue regardless of error
37 }
38 }
39
40 if (!lodash) {
41 lodash = window._;
42 }
43
44 module.exports = lodash;