@irrelon/emitter 6.1.0 → 6.2.0

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/doc/global.html DELETED
@@ -1,991 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>JSDoc: Global</title>
6
-
7
- <script src="scripts/prettify/prettify.js"> </script>
8
- <script src="scripts/prettify/lang-css.js"> </script>
9
- <!--[if lt IE 9]>
10
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
- <![endif]-->
12
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14
- </head>
15
-
16
- <body>
17
-
18
- <div id="main">
19
-
20
- <h1 class="page-title">Global</h1>
21
-
22
-
23
-
24
-
25
-
26
-
27
- <section>
28
-
29
- <header>
30
-
31
- <h2></h2>
32
-
33
-
34
- </header>
35
-
36
- <article>
37
- <div class="container-overview">
38
-
39
-
40
-
41
-
42
-
43
-
44
- <dl class="details">
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
- </dl>
78
-
79
-
80
-
81
-
82
- </div>
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <h3 class="subsection-title">Methods</h3>
98
-
99
-
100
-
101
-
102
-
103
-
104
- <h4 class="name" id="$main"><span class="type-signature">(private) </span>$main<span class="signature">(event)</span><span class="type-signature"> &rarr; {*}</span></h4>
105
-
106
-
107
-
108
-
109
-
110
- <div class="description">
111
- Handles removing emitters, is an internal method not called directly.
112
- </div>
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
- <h5>Parameters:</h5>
123
-
124
-
125
- <table class="params">
126
- <thead>
127
- <tr>
128
-
129
- <th>Name</th>
130
-
131
-
132
- <th>Type</th>
133
-
134
-
135
-
136
-
137
-
138
- <th class="last">Description</th>
139
- </tr>
140
- </thead>
141
-
142
- <tbody>
143
-
144
-
145
- <tr>
146
-
147
- <td class="name"><code>event</code></td>
148
-
149
-
150
- <td class="type">
151
-
152
-
153
- <span class="param-type">String</span>
154
-
155
-
156
-
157
- </td>
158
-
159
-
160
-
161
-
162
-
163
- <td class="description last">The event to remove static emitter for.</td>
164
- </tr>
165
-
166
-
167
- </tbody>
168
- </table>
169
-
170
-
171
-
172
-
173
-
174
-
175
- <dl class="details">
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
- <dt class="tag-source">Source:</dt>
203
- <dd class="tag-source"><ul class="dummy"><li>
204
- <a href="Emitter.js.html">Emitter.js</a>, <a href="Emitter.js.html#line637">line 637</a>
205
- </li></ul></dd>
206
-
207
-
208
-
209
-
210
-
211
-
212
-
213
- </dl>
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
- <h5>Returns:</h5>
228
-
229
-
230
-
231
-
232
- <dl>
233
- <dt>
234
- Type
235
- </dt>
236
- <dd>
237
-
238
- <span class="param-type">*</span>
239
-
240
-
241
- </dd>
242
- </dl>
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
- <h4 class="name" id="$main"><span class="type-signature">(private) </span>$main<span class="signature">(event, id, data)</span><span class="type-signature"> &rarr; {*}</span></h4>
254
-
255
-
256
-
257
-
258
-
259
- <div class="description">
260
- Handles emitting events, is an internal method not called directly.
261
- </div>
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
- <h5>Parameters:</h5>
272
-
273
-
274
- <table class="params">
275
- <thead>
276
- <tr>
277
-
278
- <th>Name</th>
279
-
280
-
281
- <th>Type</th>
282
-
283
-
284
-
285
-
286
-
287
- <th class="last">Description</th>
288
- </tr>
289
- </thead>
290
-
291
- <tbody>
292
-
293
-
294
- <tr>
295
-
296
- <td class="name"><code>event</code></td>
297
-
298
-
299
- <td class="type">
300
-
301
-
302
- <span class="param-type">String</span>
303
-
304
-
305
-
306
- </td>
307
-
308
-
309
-
310
-
311
-
312
- <td class="description last">The name of the event to emit.</td>
313
- </tr>
314
-
315
-
316
-
317
- <tr>
318
-
319
- <td class="name"><code>id</code></td>
320
-
321
-
322
- <td class="type">
323
-
324
-
325
- <span class="param-type">String</span>
326
-
327
-
328
-
329
- </td>
330
-
331
-
332
-
333
-
334
-
335
- <td class="description last">The id of the event to emit.</td>
336
- </tr>
337
-
338
-
339
-
340
- <tr>
341
-
342
- <td class="name"><code>data</code></td>
343
-
344
-
345
- <td class="type">
346
-
347
-
348
- <span class="param-type">*</span>
349
-
350
-
351
-
352
- </td>
353
-
354
-
355
-
356
-
357
-
358
- <td class="description last">The data to emit with the event.</td>
359
- </tr>
360
-
361
-
362
- </tbody>
363
- </table>
364
-
365
-
366
-
367
-
368
-
369
-
370
- <dl class="details">
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
- <dt class="tag-source">Source:</dt>
398
- <dd class="tag-source"><ul class="dummy"><li>
399
- <a href="Emitter.js.html">Emitter.js</a>, <a href="Emitter.js.html#line562">line 562</a>
400
- </li></ul></dd>
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
- </dl>
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
-
421
-
422
- <h5>Returns:</h5>
423
-
424
-
425
-
426
-
427
- <dl>
428
- <dt>
429
- Type
430
- </dt>
431
- <dd>
432
-
433
- <span class="param-type">*</span>
434
-
435
-
436
- </dd>
437
- </dl>
438
-
439
-
440
-
441
-
442
-
443
-
444
-
445
-
446
-
447
-
448
- <h4 class="name" id="$main"><span class="type-signature">(private) </span>$main<span class="signature">(event, data)</span><span class="type-signature"> &rarr; {*}</span></h4>
449
-
450
-
451
-
452
-
453
-
454
- <div class="description">
455
- Handles emitting events, is an internal method not called directly.
456
- </div>
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
- <h5>Parameters:</h5>
467
-
468
-
469
- <table class="params">
470
- <thead>
471
- <tr>
472
-
473
- <th>Name</th>
474
-
475
-
476
- <th>Type</th>
477
-
478
-
479
-
480
-
481
-
482
- <th class="last">Description</th>
483
- </tr>
484
- </thead>
485
-
486
- <tbody>
487
-
488
-
489
- <tr>
490
-
491
- <td class="name"><code>event</code></td>
492
-
493
-
494
- <td class="type">
495
-
496
-
497
- <span class="param-type">String</span>
498
-
499
-
500
-
501
- </td>
502
-
503
-
504
-
505
-
506
-
507
- <td class="description last">The name of the event to emit.</td>
508
- </tr>
509
-
510
-
511
-
512
- <tr>
513
-
514
- <td class="name"><code>data</code></td>
515
-
516
-
517
- <td class="type">
518
-
519
-
520
- <span class="param-type">*</span>
521
-
522
-
523
-
524
- </td>
525
-
526
-
527
-
528
-
529
-
530
- <td class="description last">The data to emit with the event.</td>
531
- </tr>
532
-
533
-
534
- </tbody>
535
- </table>
536
-
537
-
538
-
539
-
540
-
541
-
542
- <dl class="details">
543
-
544
-
545
-
546
-
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
-
568
-
569
- <dt class="tag-source">Source:</dt>
570
- <dd class="tag-source"><ul class="dummy"><li>
571
- <a href="Emitter.js.html">Emitter.js</a>, <a href="Emitter.js.html#line471">line 471</a>
572
- </li></ul></dd>
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
- </dl>
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
- <h5>Returns:</h5>
595
-
596
-
597
-
598
-
599
- <dl>
600
- <dt>
601
- Type
602
- </dt>
603
- <dd>
604
-
605
- <span class="param-type">*</span>
606
-
607
-
608
- </dd>
609
- </dl>
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
- <h4 class="name" id="$main"><span class="type-signature">(private) </span>$main<span class="signature">(event, data)</span><span class="type-signature"> &rarr; {*}</span></h4>
621
-
622
-
623
-
624
-
625
-
626
- <div class="description">
627
- Handles emitting events, is an internal method not called directly.
628
- </div>
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
-
637
-
638
- <h5>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
-
652
-
653
-
654
- <th class="last">Description</th>
655
- </tr>
656
- </thead>
657
-
658
- <tbody>
659
-
660
-
661
- <tr>
662
-
663
- <td class="name"><code>event</code></td>
664
-
665
-
666
- <td class="type">
667
-
668
-
669
- <span class="param-type">String</span>
670
-
671
-
672
-
673
- </td>
674
-
675
-
676
-
677
-
678
-
679
- <td class="description last">The name of the event to emit.</td>
680
- </tr>
681
-
682
-
683
-
684
- <tr>
685
-
686
- <td class="name"><code>data</code></td>
687
-
688
-
689
- <td class="type">
690
-
691
-
692
- <span class="param-type">*</span>
693
-
694
-
695
-
696
- </td>
697
-
698
-
699
-
700
-
701
-
702
- <td class="description last">The data to emit with the event.</td>
703
- </tr>
704
-
705
-
706
- </tbody>
707
- </table>
708
-
709
-
710
-
711
-
712
-
713
-
714
- <dl class="details">
715
-
716
-
717
-
718
-
719
-
720
-
721
-
722
-
723
-
724
-
725
-
726
-
727
-
728
-
729
-
730
-
731
-
732
-
733
-
734
-
735
-
736
-
737
-
738
-
739
-
740
-
741
- <dt class="tag-source">Source:</dt>
742
- <dd class="tag-source"><ul class="dummy"><li>
743
- <a href="Emitter.js.html">Emitter.js</a>, <a href="Emitter.js.html#line336">line 336</a>
744
- </li></ul></dd>
745
-
746
-
747
-
748
-
749
-
750
-
751
-
752
- </dl>
753
-
754
-
755
-
756
-
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
-
765
-
766
- <h5>Returns:</h5>
767
-
768
-
769
-
770
-
771
- <dl>
772
- <dt>
773
- Type
774
- </dt>
775
- <dd>
776
-
777
- <span class="param-type">*</span>
778
-
779
-
780
- </dd>
781
- </dl>
782
-
783
-
784
-
785
-
786
-
787
-
788
-
789
-
790
-
791
-
792
- <h4 class="name" id="$main"><span class="type-signature">(private) </span>$main<span class="signature">(event, id, listener)</span><span class="type-signature"> &rarr; {<a href="global.html#$main">$main</a>}</span></h4>
793
-
794
-
795
-
796
-
797
-
798
-
799
-
800
-
801
-
802
-
803
-
804
-
805
-
806
- <h5>Parameters:</h5>
807
-
808
-
809
- <table class="params">
810
- <thead>
811
- <tr>
812
-
813
- <th>Name</th>
814
-
815
-
816
- <th>Type</th>
817
-
818
-
819
-
820
-
821
-
822
- <th class="last">Description</th>
823
- </tr>
824
- </thead>
825
-
826
- <tbody>
827
-
828
-
829
- <tr>
830
-
831
- <td class="name"><code>event</code></td>
832
-
833
-
834
- <td class="type">
835
-
836
- </td>
837
-
838
-
839
-
840
-
841
-
842
- <td class="description last"></td>
843
- </tr>
844
-
845
-
846
-
847
- <tr>
848
-
849
- <td class="name"><code>id</code></td>
850
-
851
-
852
- <td class="type">
853
-
854
- </td>
855
-
856
-
857
-
858
-
859
-
860
- <td class="description last"></td>
861
- </tr>
862
-
863
-
864
-
865
- <tr>
866
-
867
- <td class="name"><code>listener</code></td>
868
-
869
-
870
- <td class="type">
871
-
872
- </td>
873
-
874
-
875
-
876
-
877
-
878
- <td class="description last"></td>
879
- </tr>
880
-
881
-
882
- </tbody>
883
- </table>
884
-
885
-
886
-
887
-
888
-
889
-
890
- <dl class="details">
891
-
892
-
893
-
894
-
895
-
896
-
897
-
898
-
899
-
900
-
901
-
902
-
903
-
904
-
905
-
906
-
907
-
908
-
909
-
910
-
911
-
912
-
913
-
914
-
915
-
916
-
917
- <dt class="tag-source">Source:</dt>
918
- <dd class="tag-source"><ul class="dummy"><li>
919
- <a href="Emitter.js.html">Emitter.js</a>, <a href="Emitter.js.html#line102">line 102</a>
920
- </li></ul></dd>
921
-
922
-
923
-
924
-
925
-
926
-
927
-
928
- </dl>
929
-
930
-
931
-
932
-
933
-
934
-
935
-
936
-
937
-
938
-
939
-
940
-
941
-
942
- <h5>Returns:</h5>
943
-
944
-
945
-
946
-
947
- <dl>
948
- <dt>
949
- Type
950
- </dt>
951
- <dd>
952
-
953
- <span class="param-type"><a href="global.html#$main">$main</a></span>
954
-
955
-
956
- </dd>
957
- </dl>
958
-
959
-
960
-
961
-
962
-
963
-
964
-
965
-
966
-
967
-
968
-
969
- </article>
970
-
971
- </section>
972
-
973
-
974
-
975
-
976
- </div>
977
-
978
- <nav>
979
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Emitter.html">Emitter</a></li></ul><h3>Global</h3><ul><li><a href="global.html#$main">$main</a></li></ul>
980
- </nav>
981
-
982
- <br class="clear">
983
-
984
- <footer>
985
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Tue Jun 05 2018 21:31:03 GMT+0100 (BST)
986
- </footer>
987
-
988
- <script> prettyPrint(); </script>
989
- <script src="scripts/linenumber.js"> </script>
990
- </body>
991
- </html>