@mkody/twitch-emoticons 2.9.4 → 2.9.6
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.
- package/.jsdoc.json +12 -5
- package/.nvmrc +1 -1
- package/SECURITY.md +3 -2
- package/dist/TwitchEmoticons.min.js +11 -11
- package/dist/TwitchEmoticons.min.js.map +4 -4
- package/docs/BTTVEmote.html +71 -71
- package/docs/Channel.html +18 -18
- package/docs/Collection.html +22 -22
- package/docs/Emote.html +30 -30
- package/docs/EmoteFetcher.html +382 -382
- package/docs/EmoteParser.html +1 -1
- package/docs/FFZEmote.html +81 -81
- package/docs/SevenTVEmote.html +76 -76
- package/docs/TwitchEmote.html +67 -67
- package/docs/index.html +2 -2
- package/docs/struct_BTTVEmote.js.html +1 -1
- package/docs/struct_Channel.js.html +1 -1
- package/docs/struct_Emote.js.html +1 -1
- package/docs/struct_EmoteFetcher.js.html +1 -1
- package/docs/struct_EmoteParser.js.html +1 -1
- package/docs/struct_FFZEmote.js.html +1 -1
- package/docs/struct_SevenTVEmote.js.html +1 -1
- package/docs/struct_TwitchEmote.js.html +1 -1
- package/docs/util_Collection.js.html +1 -1
- package/package.json +9 -9
- package/test/SevenTV.test.js +4 -4
- package/test/__snapshots__/ToFromObject.test.js.snap +1 -1
- package/typings/index.d.ts +3 -3
- package/docs/SevenTV.html +0 -1191
package/docs/Channel.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<nav >
|
|
30
30
|
|
|
31
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#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</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="
|
|
32
|
+
<h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/mkody/twitch-emoticons" target="_blank" class="menu-item" id="github_link" >GitHub</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#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</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="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toObject">toObject</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#fetchTwitchEmotes">fetchTwitchEmotes</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#fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="FFZEmote.html#.fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="SevenTVEmote.html#.fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="TwitchEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
|
|
240
240
|
|
|
241
241
|
|
|
242
|
-
<h4 class="name" id="
|
|
242
|
+
<h4 class="name" id="fetcher"><span class="type-signature"></span>fetcher<span class="type-signature"> :<a href="EmoteFetcher.html">EmoteFetcher</a></span></h4>
|
|
243
243
|
|
|
244
244
|
|
|
245
245
|
|
|
@@ -248,14 +248,13 @@
|
|
|
248
248
|
<dl class="details">
|
|
249
249
|
|
|
250
250
|
<dt class="tag-description">Description:</dt>
|
|
251
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
252
|
-
For the global channel, the ID will be null.</p></li></ul></dd>
|
|
251
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The emote fetcher.</p></li></ul></dd>
|
|
253
252
|
|
|
254
253
|
|
|
255
254
|
|
|
256
255
|
<dt class="tag-source">Source:</dt>
|
|
257
256
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
258
|
-
<a href="struct_Channel.js.html">struct/Channel.js</a>, <a href="struct_Channel.js.html#
|
|
257
|
+
<a href="struct_Channel.js.html">struct/Channel.js</a>, <a href="struct_Channel.js.html#line14">line 14</a>
|
|
259
258
|
</li></ul></dd>
|
|
260
259
|
|
|
261
260
|
|
|
@@ -295,8 +294,7 @@ For the global channel, the ID will be null.</p></li></ul></dd>
|
|
|
295
294
|
|
|
296
295
|
|
|
297
296
|
<div class="description usertext">
|
|
298
|
-
<p>The
|
|
299
|
-
For the global channel, the ID will be null.</p>
|
|
297
|
+
<p>The emote fetcher.</p>
|
|
300
298
|
</div>
|
|
301
299
|
|
|
302
300
|
|
|
@@ -305,7 +303,7 @@ For the global channel, the ID will be null.</p>
|
|
|
305
303
|
<ul>
|
|
306
304
|
<li>
|
|
307
305
|
|
|
308
|
-
<span class="param-type">
|
|
306
|
+
<span class="param-type"><a href="EmoteFetcher.html">EmoteFetcher</a></span>
|
|
309
307
|
|
|
310
308
|
|
|
311
309
|
|
|
@@ -319,7 +317,7 @@ For the global channel, the ID will be null.</p>
|
|
|
319
317
|
|
|
320
318
|
|
|
321
319
|
|
|
322
|
-
<h4 class="name" id="
|
|
320
|
+
<h4 class="name" id="channel_id"><span class="type-signature type-signature-nullable">(nullable) </span>channel_id<span class="type-signature"> :int</span></h4>
|
|
323
321
|
|
|
324
322
|
|
|
325
323
|
|
|
@@ -328,13 +326,14 @@ For the global channel, the ID will be null.</p>
|
|
|
328
326
|
<dl class="details">
|
|
329
327
|
|
|
330
328
|
<dt class="tag-description">Description:</dt>
|
|
331
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
329
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The ID of this channel.<br>
|
|
330
|
+
For the global channel, the ID will be null.</p></li></ul></dd>
|
|
332
331
|
|
|
333
332
|
|
|
334
333
|
|
|
335
334
|
<dt class="tag-source">Source:</dt>
|
|
336
335
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
337
|
-
<a href="struct_Channel.js.html">struct/Channel.js</a>, <a href="struct_Channel.js.html#
|
|
336
|
+
<a href="struct_Channel.js.html">struct/Channel.js</a>, <a href="struct_Channel.js.html#line21">line 21</a>
|
|
338
337
|
</li></ul></dd>
|
|
339
338
|
|
|
340
339
|
|
|
@@ -374,7 +373,8 @@ For the global channel, the ID will be null.</p>
|
|
|
374
373
|
|
|
375
374
|
|
|
376
375
|
<div class="description usertext">
|
|
377
|
-
<p>
|
|
376
|
+
<p>The ID of this channel.<br>
|
|
377
|
+
For the global channel, the ID will be null.</p>
|
|
378
378
|
</div>
|
|
379
379
|
|
|
380
380
|
|
|
@@ -383,7 +383,7 @@ For the global channel, the ID will be null.</p>
|
|
|
383
383
|
<ul>
|
|
384
384
|
<li>
|
|
385
385
|
|
|
386
|
-
<span class="param-type"
|
|
386
|
+
<span class="param-type">int</span>
|
|
387
387
|
|
|
388
388
|
|
|
389
389
|
|
|
@@ -397,7 +397,7 @@ For the global channel, the ID will be null.</p>
|
|
|
397
397
|
|
|
398
398
|
|
|
399
399
|
|
|
400
|
-
<h4 class="name" id="
|
|
400
|
+
<h4 class="name" id="emotes"><span class="type-signature"></span>emotes<span class="type-signature"> :<a href="Collection.html">Collection</a>.<string, <a href="Emote.html">Emote</a>></span></h4>
|
|
401
401
|
|
|
402
402
|
|
|
403
403
|
|
|
@@ -406,13 +406,13 @@ For the global channel, the ID will be null.</p>
|
|
|
406
406
|
<dl class="details">
|
|
407
407
|
|
|
408
408
|
<dt class="tag-description">Description:</dt>
|
|
409
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
409
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Cached emotes belonging to this channel.</p></li></ul></dd>
|
|
410
410
|
|
|
411
411
|
|
|
412
412
|
|
|
413
413
|
<dt class="tag-source">Source:</dt>
|
|
414
414
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
415
|
-
<a href="struct_Channel.js.html">struct/Channel.js</a>, <a href="struct_Channel.js.html#
|
|
415
|
+
<a href="struct_Channel.js.html">struct/Channel.js</a>, <a href="struct_Channel.js.html#line27">line 27</a>
|
|
416
416
|
</li></ul></dd>
|
|
417
417
|
|
|
418
418
|
|
|
@@ -452,7 +452,7 @@ For the global channel, the ID will be null.</p>
|
|
|
452
452
|
|
|
453
453
|
|
|
454
454
|
<div class="description usertext">
|
|
455
|
-
<p>
|
|
455
|
+
<p>Cached emotes belonging to this channel.</p>
|
|
456
456
|
</div>
|
|
457
457
|
|
|
458
458
|
|
|
@@ -461,7 +461,7 @@ For the global channel, the ID will be null.</p>
|
|
|
461
461
|
<ul>
|
|
462
462
|
<li>
|
|
463
463
|
|
|
464
|
-
<span class="param-type"><a href="
|
|
464
|
+
<span class="param-type"><a href="Collection.html">Collection</a>.<string, <a href="Emote.html">Emote</a>></span>
|
|
465
465
|
|
|
466
466
|
|
|
467
467
|
|
package/docs/Collection.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<nav >
|
|
30
30
|
|
|
31
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#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</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="
|
|
32
|
+
<h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/mkody/twitch-emoticons" target="_blank" class="menu-item" id="github_link" >GitHub</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#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</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="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toObject">toObject</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#fetchTwitchEmotes">fetchTwitchEmotes</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#fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="FFZEmote.html#.fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="SevenTVEmote.html#.fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="TwitchEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
<h4 class="name" id="
|
|
173
|
+
<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"> → {any}</span></h4>
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
|
|
@@ -180,14 +180,14 @@
|
|
|
180
180
|
<dl class="details">
|
|
181
181
|
|
|
182
182
|
<dt class="tag-description">Description:</dt>
|
|
183
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
184
|
-
Same as <code>Array#
|
|
183
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Finds first matching value by property or function.<br>
|
|
184
|
+
Same as <code>Array#find</code>.</p></li></ul></dd>
|
|
185
185
|
|
|
186
186
|
|
|
187
187
|
|
|
188
188
|
<dt class="tag-source">Source:</dt>
|
|
189
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#
|
|
190
|
+
<a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line14">line 14</a>
|
|
191
191
|
</li></ul></dd>
|
|
192
192
|
|
|
193
193
|
|
|
@@ -261,12 +261,15 @@ Same as <code>Array#filter</code>.</p></li></ul></dd>
|
|
|
261
261
|
|
|
262
262
|
<tr>
|
|
263
263
|
|
|
264
|
-
<td class="name"><code>
|
|
264
|
+
<td class="name"><code>propOrFunc</code></td>
|
|
265
265
|
|
|
266
266
|
|
|
267
267
|
<td class="type">
|
|
268
268
|
|
|
269
269
|
|
|
270
|
+
<span class="param-type">string</span>
|
|
271
|
+
|
|
|
272
|
+
|
|
270
273
|
<span class="param-type">function</span>
|
|
271
274
|
|
|
272
275
|
|
|
@@ -286,14 +289,14 @@ Same as <code>Array#filter</code>.</p></li></ul></dd>
|
|
|
286
289
|
|
|
287
290
|
|
|
288
291
|
|
|
289
|
-
<td class="description last"><p>
|
|
292
|
+
<td class="description last"><p>Property or function to test.</p></td>
|
|
290
293
|
</tr>
|
|
291
294
|
|
|
292
295
|
|
|
293
296
|
|
|
294
297
|
<tr>
|
|
295
298
|
|
|
296
|
-
<td class="name"><code>
|
|
299
|
+
<td class="name"><code>value</code></td>
|
|
297
300
|
|
|
298
301
|
|
|
299
302
|
<td class="type">
|
|
@@ -320,7 +323,7 @@ Same as <code>Array#filter</code>.</p></li></ul></dd>
|
|
|
320
323
|
|
|
321
324
|
|
|
322
325
|
|
|
323
|
-
<td class="description last"><p>
|
|
326
|
+
<td class="description last"><p>Value to find.</p></td>
|
|
324
327
|
</tr>
|
|
325
328
|
|
|
326
329
|
|
|
@@ -353,7 +356,7 @@ Same as <code>Array#filter</code>.</p></li></ul></dd>
|
|
|
353
356
|
</dt>
|
|
354
357
|
<dd>
|
|
355
358
|
|
|
356
|
-
<span class="param-type"
|
|
359
|
+
<span class="param-type">any</span>
|
|
357
360
|
|
|
358
361
|
|
|
359
362
|
|
|
@@ -369,7 +372,7 @@ Same as <code>Array#filter</code>.</p></li></ul></dd>
|
|
|
369
372
|
|
|
370
373
|
|
|
371
374
|
|
|
372
|
-
<h4 class="name" id="
|
|
375
|
+
<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"> → {<a href="Collection.html">Collection</a>}</span></h4>
|
|
373
376
|
|
|
374
377
|
|
|
375
378
|
|
|
@@ -379,14 +382,14 @@ Same as <code>Array#filter</code>.</p></li></ul></dd>
|
|
|
379
382
|
<dl class="details">
|
|
380
383
|
|
|
381
384
|
<dt class="tag-description">Description:</dt>
|
|
382
|
-
<dd class="tag-description"><ul class="dummy"><li><p>
|
|
383
|
-
Same as <code>Array#
|
|
385
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Filters cache by function.<br>
|
|
386
|
+
Same as <code>Array#filter</code>.</p></li></ul></dd>
|
|
384
387
|
|
|
385
388
|
|
|
386
389
|
|
|
387
390
|
<dt class="tag-source">Source:</dt>
|
|
388
391
|
<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#
|
|
392
|
+
<a href="util_Collection.js.html">util/Collection.js</a>, <a href="util_Collection.js.html#line44">line 44</a>
|
|
390
393
|
</li></ul></dd>
|
|
391
394
|
|
|
392
395
|
|
|
@@ -460,15 +463,12 @@ Same as <code>Array#find</code>.</p></li></ul></dd>
|
|
|
460
463
|
|
|
461
464
|
<tr>
|
|
462
465
|
|
|
463
|
-
<td class="name"><code>
|
|
466
|
+
<td class="name"><code>func</code></td>
|
|
464
467
|
|
|
465
468
|
|
|
466
469
|
<td class="type">
|
|
467
470
|
|
|
468
471
|
|
|
469
|
-
<span class="param-type">string</span>
|
|
470
|
-
|
|
|
471
|
-
|
|
472
472
|
<span class="param-type">function</span>
|
|
473
473
|
|
|
474
474
|
|
|
@@ -488,14 +488,14 @@ Same as <code>Array#find</code>.</p></li></ul></dd>
|
|
|
488
488
|
|
|
489
489
|
|
|
490
490
|
|
|
491
|
-
<td class="description last"><p>
|
|
491
|
+
<td class="description last"><p>Function to test.</p></td>
|
|
492
492
|
</tr>
|
|
493
493
|
|
|
494
494
|
|
|
495
495
|
|
|
496
496
|
<tr>
|
|
497
497
|
|
|
498
|
-
<td class="name"><code>
|
|
498
|
+
<td class="name"><code>thisArg</code></td>
|
|
499
499
|
|
|
500
500
|
|
|
501
501
|
<td class="type">
|
|
@@ -522,7 +522,7 @@ Same as <code>Array#find</code>.</p></li></ul></dd>
|
|
|
522
522
|
|
|
523
523
|
|
|
524
524
|
|
|
525
|
-
<td class="description last"><p>
|
|
525
|
+
<td class="description last"><p>The context for the function.</p></td>
|
|
526
526
|
</tr>
|
|
527
527
|
|
|
528
528
|
|
|
@@ -555,7 +555,7 @@ Same as <code>Array#find</code>.</p></li></ul></dd>
|
|
|
555
555
|
</dt>
|
|
556
556
|
<dd>
|
|
557
557
|
|
|
558
|
-
<span class="param-type">
|
|
558
|
+
<span class="param-type"><a href="Collection.html">Collection</a></span>
|
|
559
559
|
|
|
560
560
|
|
|
561
561
|
|
package/docs/Emote.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<nav >
|
|
30
30
|
|
|
31
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#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</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="
|
|
32
|
+
<h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/mkody/twitch-emoticons" target="_blank" class="menu-item" id="github_link" >GitHub</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#toObject">toObject</a></li><li data-type='method'><a href="BTTVEmote.html#.fromObject">fromObject</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="Emote.html">Emote</a><ul class='methods'><li data-type='method'><a href="Emote.html#toObject">toObject</a></li></ul></li><li><a href="EmoteFetcher.html">EmoteFetcher</a><ul class='methods'><li data-type='method'><a href="EmoteFetcher.html#fetchTwitchEmotes">fetchTwitchEmotes</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#fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="FFZEmote.html#.fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="SevenTVEmote.html#.fromObject">fromObject</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#toObject">toObject</a></li><li data-type='method'><a href="TwitchEmote.html#.fromObject">fromObject</a></li></ul></li><li><a href="Collection.html">Collection</a><ul class='methods'><li data-type='method'><a href="Collection.html#find">find</a></li><li data-type='method'><a href="Collection.html#filter">filter</a></li><li data-type='method'><a href="Collection.html#map">map</a></li></ul></li></ul>
|
|
33
33
|
|
|
34
34
|
</nav>
|
|
35
35
|
|
|
@@ -294,7 +294,7 @@ This constructor is not to be used.</p></li></ul></dd>
|
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
|
|
297
|
-
<h4 class="name" id="
|
|
297
|
+
<h4 class="name" id="fetcher"><span class="type-signature"></span>fetcher<span class="type-signature"> :<a href="EmoteFetcher.html">EmoteFetcher</a></span></h4>
|
|
298
298
|
|
|
299
299
|
|
|
300
300
|
|
|
@@ -303,15 +303,13 @@ This constructor is not to be used.</p></li></ul></dd>
|
|
|
303
303
|
<dl class="details">
|
|
304
304
|
|
|
305
305
|
<dt class="tag-description">Description:</dt>
|
|
306
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
307
|
-
Only accurate and constant on Twitch emotes.<br>
|
|
308
|
-
For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p></li></ul></dd>
|
|
306
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The emote fetcher.</p></li></ul></dd>
|
|
309
307
|
|
|
310
308
|
|
|
311
309
|
|
|
312
310
|
<dt class="tag-source">Source:</dt>
|
|
313
311
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
314
|
-
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#
|
|
312
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line19">line 19</a>
|
|
315
313
|
</li></ul></dd>
|
|
316
314
|
|
|
317
315
|
|
|
@@ -351,9 +349,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
351
349
|
|
|
352
350
|
|
|
353
351
|
<div class="description usertext">
|
|
354
|
-
<p>The
|
|
355
|
-
Only accurate and constant on Twitch emotes.<br>
|
|
356
|
-
For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p>
|
|
352
|
+
<p>The emote fetcher.</p>
|
|
357
353
|
</div>
|
|
358
354
|
|
|
359
355
|
|
|
@@ -362,7 +358,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
362
358
|
<ul>
|
|
363
359
|
<li>
|
|
364
360
|
|
|
365
|
-
<span class="param-type"><a href="
|
|
361
|
+
<span class="param-type"><a href="EmoteFetcher.html">EmoteFetcher</a></span>
|
|
366
362
|
|
|
367
363
|
|
|
368
364
|
|
|
@@ -376,7 +372,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
376
372
|
|
|
377
373
|
|
|
378
374
|
|
|
379
|
-
<h4 class="name" id="
|
|
375
|
+
<h4 class="name" id="channel"><span class="type-signature"></span>channel<span class="type-signature"> :<a href="Channel.html">Channel</a></span></h4>
|
|
380
376
|
|
|
381
377
|
|
|
382
378
|
|
|
@@ -385,13 +381,15 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
385
381
|
<dl class="details">
|
|
386
382
|
|
|
387
383
|
<dt class="tag-description">Description:</dt>
|
|
388
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
384
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The channel this emote belongs to.<br>
|
|
385
|
+
Only accurate and constant on Twitch emotes.<br>
|
|
386
|
+
For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p></li></ul></dd>
|
|
389
387
|
|
|
390
388
|
|
|
391
389
|
|
|
392
390
|
<dt class="tag-source">Source:</dt>
|
|
393
391
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
394
|
-
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#
|
|
392
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line27">line 27</a>
|
|
395
393
|
</li></ul></dd>
|
|
396
394
|
|
|
397
395
|
|
|
@@ -431,7 +429,9 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
431
429
|
|
|
432
430
|
|
|
433
431
|
<div class="description usertext">
|
|
434
|
-
<p>The
|
|
432
|
+
<p>The channel this emote belongs to.<br>
|
|
433
|
+
Only accurate and constant on Twitch emotes.<br>
|
|
434
|
+
For other types of emotes, use the <code>owner</code> or <code>ownerName</code> property.</p>
|
|
435
435
|
</div>
|
|
436
436
|
|
|
437
437
|
|
|
@@ -440,7 +440,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
440
440
|
<ul>
|
|
441
441
|
<li>
|
|
442
442
|
|
|
443
|
-
<span class="param-type">
|
|
443
|
+
<span class="param-type"><a href="Channel.html">Channel</a></span>
|
|
444
444
|
|
|
445
445
|
|
|
446
446
|
|
|
@@ -454,7 +454,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
454
454
|
|
|
455
455
|
|
|
456
456
|
|
|
457
|
-
<h4 class="name" id="
|
|
457
|
+
<h4 class="name" id="id"><span class="type-signature"></span>id<span class="type-signature"> :string</span></h4>
|
|
458
458
|
|
|
459
459
|
|
|
460
460
|
|
|
@@ -463,13 +463,13 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
463
463
|
<dl class="details">
|
|
464
464
|
|
|
465
465
|
<dt class="tag-description">Description:</dt>
|
|
466
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The emote
|
|
466
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The ID of this emote.</p></li></ul></dd>
|
|
467
467
|
|
|
468
468
|
|
|
469
469
|
|
|
470
470
|
<dt class="tag-source">Source:</dt>
|
|
471
471
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
472
|
-
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#
|
|
472
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line33">line 33</a>
|
|
473
473
|
</li></ul></dd>
|
|
474
474
|
|
|
475
475
|
|
|
@@ -509,7 +509,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
509
509
|
|
|
510
510
|
|
|
511
511
|
<div class="description usertext">
|
|
512
|
-
<p>The emote
|
|
512
|
+
<p>The ID of this emote.</p>
|
|
513
513
|
</div>
|
|
514
514
|
|
|
515
515
|
|
|
@@ -518,7 +518,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
518
518
|
<ul>
|
|
519
519
|
<li>
|
|
520
520
|
|
|
521
|
-
<span class="param-type"
|
|
521
|
+
<span class="param-type">string</span>
|
|
522
522
|
|
|
523
523
|
|
|
524
524
|
|
|
@@ -532,7 +532,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
532
532
|
|
|
533
533
|
|
|
534
534
|
|
|
535
|
-
<h4 class="name" id="
|
|
535
|
+
<h4 class="name" id="type"><span class="type-signature"></span>type<span class="type-signature"> :string</span></h4>
|
|
536
536
|
|
|
537
537
|
|
|
538
538
|
|
|
@@ -541,13 +541,14 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
541
541
|
<dl class="details">
|
|
542
542
|
|
|
543
543
|
<dt class="tag-description">Description:</dt>
|
|
544
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
544
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The type of this emote.<br>
|
|
545
|
+
Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p></li></ul></dd>
|
|
545
546
|
|
|
546
547
|
|
|
547
548
|
|
|
548
549
|
<dt class="tag-source">Source:</dt>
|
|
549
550
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
550
|
-
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#
|
|
551
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line40">line 40</a>
|
|
551
552
|
</li></ul></dd>
|
|
552
553
|
|
|
553
554
|
|
|
@@ -587,7 +588,8 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
587
588
|
|
|
588
589
|
|
|
589
590
|
<div class="description usertext">
|
|
590
|
-
<p>The
|
|
591
|
+
<p>The type of this emote.<br>
|
|
592
|
+
Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p>
|
|
591
593
|
</div>
|
|
592
594
|
|
|
593
595
|
|
|
@@ -610,7 +612,7 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
610
612
|
|
|
611
613
|
|
|
612
614
|
|
|
613
|
-
<h4 class="name" id="
|
|
615
|
+
<h4 class="name" id="code"><span class="type-signature"></span>code<span class="type-signature"> :string</span></h4>
|
|
614
616
|
|
|
615
617
|
|
|
616
618
|
|
|
@@ -619,14 +621,13 @@ For other types of emotes, use the <code>owner</code> or <code>ownerName</code>
|
|
|
619
621
|
<dl class="details">
|
|
620
622
|
|
|
621
623
|
<dt class="tag-description">Description:</dt>
|
|
622
|
-
<dd class="tag-description"><ul class="dummy"><li><p>The
|
|
623
|
-
Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p></li></ul></dd>
|
|
624
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The code or name of the emote.</p></li></ul></dd>
|
|
624
625
|
|
|
625
626
|
|
|
626
627
|
|
|
627
628
|
<dt class="tag-source">Source:</dt>
|
|
628
629
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
629
|
-
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#
|
|
630
|
+
<a href="struct_Emote.js.html">struct/Emote.js</a>, <a href="struct_Emote.js.html#line50">line 50</a>
|
|
630
631
|
</li></ul></dd>
|
|
631
632
|
|
|
632
633
|
|
|
@@ -666,8 +667,7 @@ Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p></
|
|
|
666
667
|
|
|
667
668
|
|
|
668
669
|
<div class="description usertext">
|
|
669
|
-
<p>The
|
|
670
|
-
Either <code>twitch</code>, <code>bttv</code>, <code>ffz</code>, or '7tv'.</p>
|
|
670
|
+
<p>The code or name of the emote.</p>
|
|
671
671
|
</div>
|
|
672
672
|
|
|
673
673
|
|