source: frontend/node_modules/underscore/modules/index.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 8.7 KB
Line 
1// Named Exports
2// =============
3
4// Underscore.js 1.13.6
5// https://underscorejs.org
6// (c) 2009-2022 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
7// Underscore may be freely distributed under the MIT license.
8
9// Baseline setup.
10export { VERSION } from './_setup.js';
11export { default as restArguments } from './restArguments.js';
12
13// Object Functions
14// ----------------
15// Our most fundamental functions operate on any JavaScript object.
16// Most functions in Underscore depend on at least one function in this section.
17
18// A group of functions that check the types of core JavaScript values.
19// These are often informally referred to as the "isType" functions.
20export { default as isObject } from './isObject.js';
21export { default as isNull } from './isNull.js';
22export { default as isUndefined } from './isUndefined.js';
23export { default as isBoolean } from './isBoolean.js';
24export { default as isElement } from './isElement.js';
25export { default as isString } from './isString.js';
26export { default as isNumber } from './isNumber.js';
27export { default as isDate } from './isDate.js';
28export { default as isRegExp } from './isRegExp.js';
29export { default as isError } from './isError.js';
30export { default as isSymbol } from './isSymbol.js';
31export { default as isArrayBuffer } from './isArrayBuffer.js';
32export { default as isDataView } from './isDataView.js';
33export { default as isArray } from './isArray.js';
34export { default as isFunction } from './isFunction.js';
35export { default as isArguments } from './isArguments.js';
36export { default as isFinite } from './isFinite.js';
37export { default as isNaN } from './isNaN.js';
38export { default as isTypedArray } from './isTypedArray.js';
39export { default as isEmpty } from './isEmpty.js';
40export { default as isMatch } from './isMatch.js';
41export { default as isEqual } from './isEqual.js';
42export { default as isMap } from './isMap.js';
43export { default as isWeakMap } from './isWeakMap.js';
44export { default as isSet } from './isSet.js';
45export { default as isWeakSet } from './isWeakSet.js';
46
47// Functions that treat an object as a dictionary of key-value pairs.
48export { default as keys } from './keys.js';
49export { default as allKeys } from './allKeys.js';
50export { default as values } from './values.js';
51export { default as pairs } from './pairs.js';
52export { default as invert } from './invert.js';
53export { default as functions,
54 default as methods } from './functions.js';
55export { default as extend } from './extend.js';
56export { default as extendOwn,
57 default as assign } from './extendOwn.js';
58export { default as defaults } from './defaults.js';
59export { default as create } from './create.js';
60export { default as clone } from './clone.js';
61export { default as tap } from './tap.js';
62export { default as get } from './get.js';
63export { default as has } from './has.js';
64export { default as mapObject } from './mapObject.js';
65
66// Utility Functions
67// -----------------
68// A bit of a grab bag: Predicate-generating functions for use with filters and
69// loops, string escaping and templating, create random numbers and unique ids,
70// and functions that facilitate Underscore's chaining and iteration conventions.
71export { default as identity } from './identity.js';
72export { default as constant } from './constant.js';
73export { default as noop } from './noop.js';
74export { default as toPath } from './toPath.js';
75export { default as property } from './property.js';
76export { default as propertyOf } from './propertyOf.js';
77export { default as matcher,
78 default as matches } from './matcher.js';
79export { default as times } from './times.js';
80export { default as random } from './random.js';
81export { default as now } from './now.js';
82export { default as escape } from './escape.js';
83export { default as unescape } from './unescape.js';
84export { default as templateSettings } from './templateSettings.js';
85export { default as template } from './template.js';
86export { default as result } from './result.js';
87export { default as uniqueId } from './uniqueId.js';
88export { default as chain } from './chain.js';
89export { default as iteratee } from './iteratee.js';
90
91// Function (ahem) Functions
92// -------------------------
93// These functions take a function as an argument and return a new function
94// as the result. Also known as higher-order functions.
95export { default as partial } from './partial.js';
96export { default as bind } from './bind.js';
97export { default as bindAll } from './bindAll.js';
98export { default as memoize } from './memoize.js';
99export { default as delay } from './delay.js';
100export { default as defer } from './defer.js';
101export { default as throttle } from './throttle.js';
102export { default as debounce } from './debounce.js';
103export { default as wrap } from './wrap.js';
104export { default as negate } from './negate.js';
105export { default as compose } from './compose.js';
106export { default as after } from './after.js';
107export { default as before } from './before.js';
108export { default as once } from './once.js';
109
110// Finders
111// -------
112// Functions that extract (the position of) a single element from an object
113// or array based on some criterion.
114export { default as findKey } from './findKey.js';
115export { default as findIndex } from './findIndex.js';
116export { default as findLastIndex } from './findLastIndex.js';
117export { default as sortedIndex } from './sortedIndex.js';
118export { default as indexOf } from './indexOf.js';
119export { default as lastIndexOf } from './lastIndexOf.js';
120export { default as find,
121 default as detect } from './find.js';
122export { default as findWhere } from './findWhere.js';
123
124// Collection Functions
125// --------------------
126// Functions that work on any collection of elements: either an array, or
127// an object of key-value pairs.
128export { default as each,
129 default as forEach } from './each.js';
130export { default as map,
131 default as collect } from './map.js';
132export { default as reduce,
133 default as foldl,
134 default as inject } from './reduce.js';
135export { default as reduceRight,
136 default as foldr } from './reduceRight.js';
137export { default as filter,
138 default as select } from './filter.js';
139export { default as reject } from './reject.js';
140export { default as every,
141 default as all } from './every.js';
142export { default as some,
143 default as any } from './some.js';
144export { default as contains,
145 default as includes,
146 default as include } from './contains.js';
147export { default as invoke } from './invoke.js';
148export { default as pluck } from './pluck.js';
149export { default as where } from './where.js';
150export { default as max } from './max.js';
151export { default as min } from './min.js';
152export { default as shuffle } from './shuffle.js';
153export { default as sample } from './sample.js';
154export { default as sortBy } from './sortBy.js';
155export { default as groupBy } from './groupBy.js';
156export { default as indexBy } from './indexBy.js';
157export { default as countBy } from './countBy.js';
158export { default as partition } from './partition.js';
159export { default as toArray } from './toArray.js';
160export { default as size } from './size.js';
161
162// `_.pick` and `_.omit` are actually object functions, but we put
163// them here in order to create a more natural reading order in the
164// monolithic build as they depend on `_.contains`.
165export { default as pick } from './pick.js';
166export { default as omit } from './omit.js';
167
168// Array Functions
169// ---------------
170// Functions that operate on arrays (and array-likes) only, because they’re
171// expressed in terms of operations on an ordered list of values.
172export { default as first,
173 default as head,
174 default as take } from './first.js';
175export { default as initial } from './initial.js';
176export { default as last } from './last.js';
177export { default as rest,
178 default as tail,
179 default as drop } from './rest.js';
180export { default as compact } from './compact.js';
181export { default as flatten } from './flatten.js';
182export { default as without } from './without.js';
183export { default as uniq,
184 default as unique } from './uniq.js';
185export { default as union } from './union.js';
186export { default as intersection } from './intersection.js';
187export { default as difference } from './difference.js';
188export { default as unzip,
189 default as transpose } from './unzip.js';
190export { default as zip } from './zip.js';
191export { default as object } from './object.js';
192export { default as range } from './range.js';
193export { default as chunk } from './chunk.js';
194
195// OOP
196// ---
197// These modules support the "object-oriented" calling style. See also
198// `underscore.js` and `index-default.js`.
199export { default as mixin } from './mixin.js';
200export { default } from './underscore-array-methods.js';
Note: See TracBrowser for help on using the repository browser.