@mkody/twitch-emoticons 2.6.1 → 2.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,798 +1,798 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
-
5
- <meta charset="utf-8">
6
- <title>Collection - Documentation</title>
7
-
8
-
9
- <script src="scripts/prettify/prettify.js"></script>
10
- <script src="scripts/prettify/lang-css.js"></script>
11
- <!--[if lt IE 9]>
12
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
- <![endif]-->
14
- <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
- <script src="scripts/nav.js" defer></script>
17
-
18
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
- </head>
20
- <body>
21
-
22
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
- <label for="nav-trigger" class="navicon-button x">
24
- <div class="navicon"></div>
25
- </label>
26
-
27
- <label for="nav-trigger" class="overlay"></label>
28
-
29
- <nav >
30
-
31
-
32
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BTTVEmote.html">BTTVEmote</a><ul class='methods'><li data-type='method'><a href="BTTVEmote.html#.toLink#toLink">toLink</a></li><li data-type='method'><a href="BTTVEmote.html#.toString#toString">toString</a></li></ul></li><li><a href="Channel.html">Channel</a><ul class='methods'><li data-type='method'><a href="Channel.html#.fetchBTTVEmotes#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="Channel.html#.fetchFFZEmotes#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="Channel.html#.fetchSevenTVEmotes#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li></ul></li><li><a href="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#.filter#filter">filter</a></li><li data-type='method'><a href="Collection.html#.find#find">find</a></li><li data-type='method'><a href="Collection.html#.map#map">map</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#.toString#toString">toString</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#._cacheBTTVEmote#_cacheBTTVEmote">_cacheBTTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#._cacheFFZEmote#_cacheFFZEmote">_cacheFFZEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#._cacheSevenTVEmote#_cacheSevenTVEmote">_cacheSevenTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#._cacheTwitchEmote#_cacheTwitchEmote">_cacheTwitchEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#._getRawBTTVEmotes#_getRawBTTVEmotes">_getRawBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#._getRawFFZEmotes#_getRawFFZEmotes">_getRawFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#._getRawSevenTVEmotes#_getRawSevenTVEmotes">_getRawSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#._getRawTwitchEmotes#_getRawTwitchEmotes">_getRawTwitchEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#.fetchBTTVEmotes#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#.fetchFFZEmotes#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#.fetchSevenTVEmotes#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#.fetchTwitchEmotes#fetchTwitchEmotes">fetchTwitchEmotes</a></li></ul></li><li><a href="EmoteParser.html">EmoteParser</a><ul class='methods'><li data-type='method'><a href="EmoteParser.html#.parse#parse">parse</a></li></ul></li><li><a href="FFZEmote.html">FFZEmote</a><ul class='methods'><li data-type='method'><a href="FFZEmote.html#.toLink#toLink">toLink</a></li><li data-type='method'><a href="FFZEmote.html#.toString#toString">toString</a></li></ul></li><li><a href="SevenTVEmote.html">SevenTVEmote</a><ul class='methods'><li data-type='method'><a href="SevenTVEmote.html#.toLink#toLink">toLink</a></li><li data-type='method'><a href="SevenTVEmote.html#.toString#toString">toString</a></li></ul></li><li><a href="TwitchEmote.html">TwitchEmote</a><ul class='methods'><li data-type='method'><a href="TwitchEmote.html#.toLink#toLink">toLink</a></li><li data-type='method'><a href="TwitchEmote.html#.toString#toString">toString</a></li></ul></li></ul>
33
-
34
- </nav>
35
-
36
- <div id="main">
37
-
38
- <h1 class="page-title">Collection</h1>
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
- <section>
47
-
48
- <header>
49
-
50
- <h2>
51
-
52
- Collection
53
-
54
- </h2>
55
-
56
-
57
- </header>
58
-
59
- <article>
60
-
61
- <div class="container-overview">
62
-
63
-
64
-
65
-
66
-
67
- <h4 class="name" id="Collection"><span class="type-signature"></span>new Collection<span class="signature">()</span><span class="type-signature"></span></h4>
68
-
69
-
70
-
71
-
72
-
73
-
74
- <dl class="details">
75
-
76
- <dt class="tag-description">Description:</dt>
77
- <dd class="tag-description"><ul class="dummy"><li><p>An extended Map with utility methods.</p></li></ul></dd>
78
-
79
-
80
-
81
- <dt class="tag-source">Source:</dt>
82
- <dd class="tag-source"><ul class="dummy"><li>
83
- <a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line1">line 1</a>
84
- </li></ul></dd>
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
- </dl>
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
- </div>
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
- <h3 class="subsection-title">Methods</h3>
167
-
168
-
169
-
170
-
171
-
172
-
173
- <h4 class="name" id="filter"><span class="type-signature"></span>filter<span class="signature">(func, thisArg<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="Collection.html">Collection</a>}</span></h4>
174
-
175
-
176
-
177
-
178
-
179
-
180
- <dl class="details">
181
-
182
- <dt class="tag-description">Description:</dt>
183
- <dd class="tag-description"><ul class="dummy"><li><p>Filters cache by function.<br>
184
- Same as <code>Array#filter</code>.</p></li></ul></dd>
185
-
186
-
187
-
188
- <dt class="tag-source">Source:</dt>
189
- <dd class="tag-source"><ul class="dummy"><li>
190
- <a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line43">line 43</a>
191
- </li></ul></dd>
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
- </dl>
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
- <h5 class="h5-parameters">Parameters:</h5>
238
-
239
-
240
- <table class="params">
241
- <thead>
242
- <tr>
243
-
244
- <th>Name</th>
245
-
246
-
247
- <th>Type</th>
248
-
249
-
250
- <th>Attributes</th>
251
-
252
-
253
-
254
-
255
- <th class="last">Description</th>
256
- </tr>
257
- </thead>
258
-
259
- <tbody>
260
-
261
-
262
- <tr>
263
-
264
- <td class="name"><code>func</code></td>
265
-
266
-
267
- <td class="type">
268
-
269
-
270
- <span class="param-type">function</span>
271
-
272
-
273
-
274
-
275
- </td>
276
-
277
-
278
- <td class="attributes">
279
-
280
-
281
-
282
-
283
-
284
- </td>
285
-
286
-
287
-
288
-
289
- <td class="description last"><p>Function to test.</p></td>
290
- </tr>
291
-
292
-
293
-
294
- <tr>
295
-
296
- <td class="name"><code>thisArg</code></td>
297
-
298
-
299
- <td class="type">
300
-
301
-
302
- <span class="param-type">any</span>
303
-
304
-
305
-
306
-
307
- </td>
308
-
309
-
310
- <td class="attributes">
311
-
312
- &lt;optional><br>
313
-
314
-
315
-
316
-
317
-
318
- </td>
319
-
320
-
321
-
322
-
323
- <td class="description last"><p>The context for the function.</p></td>
324
- </tr>
325
-
326
-
327
- </tbody>
328
- </table>
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
-
341
-
342
-
343
-
344
-
345
- <h5 class="h5-returns">Returns:</h5>
346
-
347
-
348
-
349
-
350
- <dl class="param-type">
351
- <dt>
352
- Type
353
- </dt>
354
- <dd>
355
-
356
- <span class="param-type"><a href="Collection.html">Collection</a></span>
357
-
358
-
359
-
360
- </dd>
361
- </dl>
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
- <h4 class="name" id="find"><span class="type-signature"></span>find<span class="signature">(propOrFunc, value<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {any}</span></h4>
373
-
374
-
375
-
376
-
377
-
378
-
379
- <dl class="details">
380
-
381
- <dt class="tag-description">Description:</dt>
382
- <dd class="tag-description"><ul class="dummy"><li><p>Finds first matching value by property or function.<br>
383
- Same as <code>Array#find</code>.</p></li></ul></dd>
384
-
385
-
386
-
387
- <dt class="tag-source">Source:</dt>
388
- <dd class="tag-source"><ul class="dummy"><li>
389
- <a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line13">line 13</a>
390
- </li></ul></dd>
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
-
421
-
422
- </dl>
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
-
435
-
436
- <h5 class="h5-parameters">Parameters:</h5>
437
-
438
-
439
- <table class="params">
440
- <thead>
441
- <tr>
442
-
443
- <th>Name</th>
444
-
445
-
446
- <th>Type</th>
447
-
448
-
449
- <th>Attributes</th>
450
-
451
-
452
-
453
-
454
- <th class="last">Description</th>
455
- </tr>
456
- </thead>
457
-
458
- <tbody>
459
-
460
-
461
- <tr>
462
-
463
- <td class="name"><code>propOrFunc</code></td>
464
-
465
-
466
- <td class="type">
467
-
468
-
469
- <span class="param-type">string</span>
470
- |
471
-
472
- <span class="param-type">function</span>
473
-
474
-
475
-
476
-
477
- </td>
478
-
479
-
480
- <td class="attributes">
481
-
482
-
483
-
484
-
485
-
486
- </td>
487
-
488
-
489
-
490
-
491
- <td class="description last"><p>Property or function to test.</p></td>
492
- </tr>
493
-
494
-
495
-
496
- <tr>
497
-
498
- <td class="name"><code>value</code></td>
499
-
500
-
501
- <td class="type">
502
-
503
-
504
- <span class="param-type">any</span>
505
-
506
-
507
-
508
-
509
- </td>
510
-
511
-
512
- <td class="attributes">
513
-
514
- &lt;optional><br>
515
-
516
-
517
-
518
-
519
-
520
- </td>
521
-
522
-
523
-
524
-
525
- <td class="description last"><p>Value to find.</p></td>
526
- </tr>
527
-
528
-
529
- </tbody>
530
- </table>
531
-
532
-
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
- <h5 class="h5-returns">Returns:</h5>
548
-
549
-
550
-
551
-
552
- <dl class="param-type">
553
- <dt>
554
- Type
555
- </dt>
556
- <dd>
557
-
558
- <span class="param-type">any</span>
559
-
560
-
561
-
562
- </dd>
563
- </dl>
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
- <h4 class="name" id="map"><span class="type-signature"></span>map<span class="signature">(func, thisArg<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Array.&lt;any>}</span></h4>
575
-
576
-
577
-
578
-
579
-
580
-
581
- <dl class="details">
582
-
583
- <dt class="tag-description">Description:</dt>
584
- <dd class="tag-description"><ul class="dummy"><li><p>Maps cache by function.<br>
585
- Same as <code>Array#map</code>.</p></li></ul></dd>
586
-
587
-
588
-
589
- <dt class="tag-source">Source:</dt>
590
- <dd class="tag-source"><ul class="dummy"><li>
591
- <a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line64">line 64</a>
592
- </li></ul></dd>
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
- </dl>
625
-
626
-
627
-
628
-
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
-
637
-
638
- <h5 class="h5-parameters">Parameters:</h5>
639
-
640
-
641
- <table class="params">
642
- <thead>
643
- <tr>
644
-
645
- <th>Name</th>
646
-
647
-
648
- <th>Type</th>
649
-
650
-
651
- <th>Attributes</th>
652
-
653
-
654
-
655
-
656
- <th class="last">Description</th>
657
- </tr>
658
- </thead>
659
-
660
- <tbody>
661
-
662
-
663
- <tr>
664
-
665
- <td class="name"><code>func</code></td>
666
-
667
-
668
- <td class="type">
669
-
670
-
671
- <span class="param-type">function</span>
672
-
673
-
674
-
675
-
676
- </td>
677
-
678
-
679
- <td class="attributes">
680
-
681
-
682
-
683
-
684
-
685
- </td>
686
-
687
-
688
-
689
-
690
- <td class="description last"><p>Function to use.</p></td>
691
- </tr>
692
-
693
-
694
-
695
- <tr>
696
-
697
- <td class="name"><code>thisArg</code></td>
698
-
699
-
700
- <td class="type">
701
-
702
-
703
- <span class="param-type">any</span>
704
-
705
-
706
-
707
-
708
- </td>
709
-
710
-
711
- <td class="attributes">
712
-
713
- &lt;optional><br>
714
-
715
-
716
-
717
-
718
-
719
- </td>
720
-
721
-
722
-
723
-
724
- <td class="description last"><p>The context for the function.</p></td>
725
- </tr>
726
-
727
-
728
- </tbody>
729
- </table>
730
-
731
-
732
-
733
-
734
-
735
-
736
-
737
-
738
-
739
-
740
-
741
-
742
-
743
-
744
-
745
-
746
- <h5 class="h5-returns">Returns:</h5>
747
-
748
-
749
-
750
-
751
- <dl class="param-type">
752
- <dt>
753
- Type
754
- </dt>
755
- <dd>
756
-
757
- <span class="param-type">Array.&lt;any></span>
758
-
759
-
760
-
761
- </dd>
762
- </dl>
763
-
764
-
765
-
766
-
767
-
768
-
769
-
770
-
771
-
772
-
773
-
774
- </article>
775
-
776
- </section>
777
-
778
-
779
-
780
-
781
-
782
-
783
- </div>
784
-
785
- <br class="clear">
786
-
787
- <footer>
788
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.0</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
789
- </footer>
790
-
791
- <script>prettyPrint();</script>
792
- <script src="scripts/polyfill.js"></script>
793
- <script src="scripts/linenumber.js"></script>
794
-
795
-
796
-
797
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>Collection - Documentation</title>
7
+
8
+
9
+ <script src="scripts/prettify/prettify.js"></script>
10
+ <script src="scripts/prettify/lang-css.js"></script>
11
+ <!--[if lt IE 9]>
12
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
+ <![endif]-->
14
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
+ <script src="scripts/nav.js" defer></script>
17
+
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
+ </head>
20
+ <body>
21
+
22
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
+ <label for="nav-trigger" class="navicon-button x">
24
+ <div class="navicon"></div>
25
+ </label>
26
+
27
+ <label for="nav-trigger" class="overlay"></label>
28
+
29
+ <nav >
30
+
31
+
32
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BTTVEmote.html">BTTVEmote</a><ul class='methods'><li data-type='method'><a href="BTTVEmote.html#toLink">toLink</a></li><li data-type='method'><a href="BTTVEmote.html#toString">toString</a></li></ul></li><li><a href="Channel.html">Channel</a><ul class='methods'><li data-type='method'><a href="Channel.html#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="Channel.html#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="Channel.html#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li></ul></li><li><a href="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li><li><a href="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toString">toString</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#_cacheBTTVEmote">_cacheBTTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheFFZEmote">_cacheFFZEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheSevenTVEmote">_cacheSevenTVEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_cacheTwitchEmote">_cacheTwitchEmote</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawBTTVEmotes">_getRawBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawFFZEmotes">_getRawFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawSevenTVEmotes">_getRawSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#_getRawTwitchEmotes">_getRawTwitchEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchBTTVEmotes">fetchBTTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchFFZEmotes">fetchFFZEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchSevenTVEmotes">fetchSevenTVEmotes</a></li><li data-type='method'><a href="EmoteFetcher.html#fetchTwitchEmotes">fetchTwitchEmotes</a></li></ul></li><li><a href="EmoteParser.html">EmoteParser</a><ul class='methods'><li data-type='method'><a href="EmoteParser.html#parse">parse</a></li></ul></li><li><a href="FFZEmote.html">FFZEmote</a><ul class='methods'><li data-type='method'><a href="FFZEmote.html#toLink">toLink</a></li><li data-type='method'><a href="FFZEmote.html#toString">toString</a></li></ul></li><li><a href="SevenTVEmote.html">SevenTVEmote</a><ul class='methods'><li data-type='method'><a href="SevenTVEmote.html#toLink">toLink</a></li><li data-type='method'><a href="SevenTVEmote.html#toString">toString</a></li></ul></li><li><a href="TwitchEmote.html">TwitchEmote</a><ul class='methods'><li data-type='method'><a href="TwitchEmote.html#toLink">toLink</a></li><li data-type='method'><a href="TwitchEmote.html#toString">toString</a></li></ul></li></ul>
33
+
34
+ </nav>
35
+
36
+ <div id="main">
37
+
38
+ <h1 class="page-title">Collection</h1>
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <section>
47
+
48
+ <header>
49
+
50
+ <h2>
51
+
52
+ Collection
53
+
54
+ </h2>
55
+
56
+
57
+ </header>
58
+
59
+ <article>
60
+
61
+ <div class="container-overview">
62
+
63
+
64
+
65
+
66
+
67
+ <h4 class="name" id="Collection"><span class="type-signature"></span>new Collection<span class="signature">()</span><span class="type-signature"></span></h4>
68
+
69
+
70
+
71
+
72
+
73
+
74
+ <dl class="details">
75
+
76
+ <dt class="tag-description">Description:</dt>
77
+ <dd class="tag-description"><ul class="dummy"><li><p>An extended Map with utility methods.</p></li></ul></dd>
78
+
79
+
80
+
81
+ <dt class="tag-source">Source:</dt>
82
+ <dd class="tag-source"><ul class="dummy"><li>
83
+ <a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line1">line 1</a>
84
+ </li></ul></dd>
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ </dl>
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+ </div>
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+ <h3 class="subsection-title">Methods</h3>
167
+
168
+
169
+
170
+
171
+
172
+
173
+ <h4 class="name" id="filter"><span class="type-signature"></span>filter<span class="signature">(func, thisArg<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {<a href="Collection.html">Collection</a>}</span></h4>
174
+
175
+
176
+
177
+
178
+
179
+
180
+ <dl class="details">
181
+
182
+ <dt class="tag-description">Description:</dt>
183
+ <dd class="tag-description"><ul class="dummy"><li><p>Filters cache by function.<br>
184
+ Same as <code>Array#filter</code>.</p></li></ul></dd>
185
+
186
+
187
+
188
+ <dt class="tag-source">Source:</dt>
189
+ <dd class="tag-source"><ul class="dummy"><li>
190
+ <a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line43">line 43</a>
191
+ </li></ul></dd>
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+ </dl>
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+ <h5 class="h5-parameters">Parameters:</h5>
238
+
239
+
240
+ <table class="params">
241
+ <thead>
242
+ <tr>
243
+
244
+ <th>Name</th>
245
+
246
+
247
+ <th>Type</th>
248
+
249
+
250
+ <th>Attributes</th>
251
+
252
+
253
+
254
+
255
+ <th class="last">Description</th>
256
+ </tr>
257
+ </thead>
258
+
259
+ <tbody>
260
+
261
+
262
+ <tr>
263
+
264
+ <td class="name"><code>func</code></td>
265
+
266
+
267
+ <td class="type">
268
+
269
+
270
+ <span class="param-type">function</span>
271
+
272
+
273
+
274
+
275
+ </td>
276
+
277
+
278
+ <td class="attributes">
279
+
280
+
281
+
282
+
283
+
284
+ </td>
285
+
286
+
287
+
288
+
289
+ <td class="description last"><p>Function to test.</p></td>
290
+ </tr>
291
+
292
+
293
+
294
+ <tr>
295
+
296
+ <td class="name"><code>thisArg</code></td>
297
+
298
+
299
+ <td class="type">
300
+
301
+
302
+ <span class="param-type">any</span>
303
+
304
+
305
+
306
+
307
+ </td>
308
+
309
+
310
+ <td class="attributes">
311
+
312
+ &lt;optional><br>
313
+
314
+
315
+
316
+
317
+
318
+ </td>
319
+
320
+
321
+
322
+
323
+ <td class="description last"><p>The context for the function.</p></td>
324
+ </tr>
325
+
326
+
327
+ </tbody>
328
+ </table>
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+ <h5 class="h5-returns">Returns:</h5>
346
+
347
+
348
+
349
+
350
+ <dl class="param-type">
351
+ <dt>
352
+ Type
353
+ </dt>
354
+ <dd>
355
+
356
+ <span class="param-type"><a href="Collection.html">Collection</a></span>
357
+
358
+
359
+
360
+ </dd>
361
+ </dl>
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+ <h4 class="name" id="find"><span class="type-signature"></span>find<span class="signature">(propOrFunc, value<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {any}</span></h4>
373
+
374
+
375
+
376
+
377
+
378
+
379
+ <dl class="details">
380
+
381
+ <dt class="tag-description">Description:</dt>
382
+ <dd class="tag-description"><ul class="dummy"><li><p>Finds first matching value by property or function.<br>
383
+ Same as <code>Array#find</code>.</p></li></ul></dd>
384
+
385
+
386
+
387
+ <dt class="tag-source">Source:</dt>
388
+ <dd class="tag-source"><ul class="dummy"><li>
389
+ <a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line13">line 13</a>
390
+ </li></ul></dd>
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+ </dl>
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+ <h5 class="h5-parameters">Parameters:</h5>
437
+
438
+
439
+ <table class="params">
440
+ <thead>
441
+ <tr>
442
+
443
+ <th>Name</th>
444
+
445
+
446
+ <th>Type</th>
447
+
448
+
449
+ <th>Attributes</th>
450
+
451
+
452
+
453
+
454
+ <th class="last">Description</th>
455
+ </tr>
456
+ </thead>
457
+
458
+ <tbody>
459
+
460
+
461
+ <tr>
462
+
463
+ <td class="name"><code>propOrFunc</code></td>
464
+
465
+
466
+ <td class="type">
467
+
468
+
469
+ <span class="param-type">string</span>
470
+ |
471
+
472
+ <span class="param-type">function</span>
473
+
474
+
475
+
476
+
477
+ </td>
478
+
479
+
480
+ <td class="attributes">
481
+
482
+
483
+
484
+
485
+
486
+ </td>
487
+
488
+
489
+
490
+
491
+ <td class="description last"><p>Property or function to test.</p></td>
492
+ </tr>
493
+
494
+
495
+
496
+ <tr>
497
+
498
+ <td class="name"><code>value</code></td>
499
+
500
+
501
+ <td class="type">
502
+
503
+
504
+ <span class="param-type">any</span>
505
+
506
+
507
+
508
+
509
+ </td>
510
+
511
+
512
+ <td class="attributes">
513
+
514
+ &lt;optional><br>
515
+
516
+
517
+
518
+
519
+
520
+ </td>
521
+
522
+
523
+
524
+
525
+ <td class="description last"><p>Value to find.</p></td>
526
+ </tr>
527
+
528
+
529
+ </tbody>
530
+ </table>
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+ <h5 class="h5-returns">Returns:</h5>
548
+
549
+
550
+
551
+
552
+ <dl class="param-type">
553
+ <dt>
554
+ Type
555
+ </dt>
556
+ <dd>
557
+
558
+ <span class="param-type">any</span>
559
+
560
+
561
+
562
+ </dd>
563
+ </dl>
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+ <h4 class="name" id="map"><span class="type-signature"></span>map<span class="signature">(func, thisArg<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Array.&lt;any>}</span></h4>
575
+
576
+
577
+
578
+
579
+
580
+
581
+ <dl class="details">
582
+
583
+ <dt class="tag-description">Description:</dt>
584
+ <dd class="tag-description"><ul class="dummy"><li><p>Maps cache by function.<br>
585
+ Same as <code>Array#map</code>.</p></li></ul></dd>
586
+
587
+
588
+
589
+ <dt class="tag-source">Source:</dt>
590
+ <dd class="tag-source"><ul class="dummy"><li>
591
+ <a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line64">line 64</a>
592
+ </li></ul></dd>
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+ </dl>
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+
638
+ <h5 class="h5-parameters">Parameters:</h5>
639
+
640
+
641
+ <table class="params">
642
+ <thead>
643
+ <tr>
644
+
645
+ <th>Name</th>
646
+
647
+
648
+ <th>Type</th>
649
+
650
+
651
+ <th>Attributes</th>
652
+
653
+
654
+
655
+
656
+ <th class="last">Description</th>
657
+ </tr>
658
+ </thead>
659
+
660
+ <tbody>
661
+
662
+
663
+ <tr>
664
+
665
+ <td class="name"><code>func</code></td>
666
+
667
+
668
+ <td class="type">
669
+
670
+
671
+ <span class="param-type">function</span>
672
+
673
+
674
+
675
+
676
+ </td>
677
+
678
+
679
+ <td class="attributes">
680
+
681
+
682
+
683
+
684
+
685
+ </td>
686
+
687
+
688
+
689
+
690
+ <td class="description last"><p>Function to use.</p></td>
691
+ </tr>
692
+
693
+
694
+
695
+ <tr>
696
+
697
+ <td class="name"><code>thisArg</code></td>
698
+
699
+
700
+ <td class="type">
701
+
702
+
703
+ <span class="param-type">any</span>
704
+
705
+
706
+
707
+
708
+ </td>
709
+
710
+
711
+ <td class="attributes">
712
+
713
+ &lt;optional><br>
714
+
715
+
716
+
717
+
718
+
719
+ </td>
720
+
721
+
722
+
723
+
724
+ <td class="description last"><p>The context for the function.</p></td>
725
+ </tr>
726
+
727
+
728
+ </tbody>
729
+ </table>
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+ <h5 class="h5-returns">Returns:</h5>
747
+
748
+
749
+
750
+
751
+ <dl class="param-type">
752
+ <dt>
753
+ Type
754
+ </dt>
755
+ <dd>
756
+
757
+ <span class="param-type">Array.&lt;any></span>
758
+
759
+
760
+
761
+ </dd>
762
+ </dl>
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+ </article>
775
+
776
+ </section>
777
+
778
+
779
+
780
+
781
+
782
+
783
+ </div>
784
+
785
+ <br class="clear">
786
+
787
+ <footer>
788
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
789
+ </footer>
790
+
791
+ <script>prettyPrint();</script>
792
+ <script src="scripts/polyfill.js"></script>
793
+ <script src="scripts/linenumber.js"></script>
794
+
795
+
796
+
797
+ </body>
798
798
  </html>