@irrelon/emitter 6.0.1 → 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/once.html DELETED
@@ -1,453 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>JSDoc: Class: once</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">Class: once</h1>
21
-
22
-
23
-
24
-
25
-
26
-
27
- <section>
28
-
29
- <header>
30
-
31
- <h2>once</h2>
32
-
33
-
34
- </header>
35
-
36
- <article>
37
- <div class="container-overview">
38
-
39
-
40
-
41
-
42
-
43
- <h4 class="name" id="once"><span class="type-signature"></span>new once<span class="signature">(event, id, listener)</span><span class="type-signature"></span></h4>
44
-
45
-
46
-
47
-
48
-
49
- <div class="description">
50
- Attach an event listener to the passed event only if the passed
51
- id matches the document id for the event being fired.
52
- </div>
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
- <h5>Parameters:</h5>
63
-
64
-
65
- <table class="params">
66
- <thead>
67
- <tr>
68
-
69
- <th>Name</th>
70
-
71
-
72
- <th>Type</th>
73
-
74
-
75
-
76
-
77
-
78
- <th class="last">Description</th>
79
- </tr>
80
- </thead>
81
-
82
- <tbody>
83
-
84
-
85
- <tr>
86
-
87
- <td class="name"><code>event</code></td>
88
-
89
-
90
- <td class="type">
91
-
92
-
93
- <span class="param-type">String</span>
94
-
95
-
96
-
97
- </td>
98
-
99
-
100
-
101
-
102
-
103
- <td class="description last">The name of the event to listen for.</td>
104
- </tr>
105
-
106
-
107
-
108
- <tr>
109
-
110
- <td class="name"><code>id</code></td>
111
-
112
-
113
- <td class="type">
114
-
115
-
116
- <span class="param-type">*</span>
117
-
118
-
119
-
120
- </td>
121
-
122
-
123
-
124
-
125
-
126
- <td class="description last">The document id to match against.</td>
127
- </tr>
128
-
129
-
130
-
131
- <tr>
132
-
133
- <td class="name"><code>listener</code></td>
134
-
135
-
136
- <td class="type">
137
-
138
-
139
- <span class="param-type">function</span>
140
-
141
-
142
-
143
- </td>
144
-
145
-
146
-
147
-
148
-
149
- <td class="description last">The method to call when the event is fired.</td>
150
- </tr>
151
-
152
-
153
- </tbody>
154
- </table>
155
-
156
-
157
-
158
-
159
-
160
-
161
- <dl class="details">
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
- <dt class="tag-source">Source:</dt>
189
- <dd class="tag-source"><ul class="dummy"><li>
190
- <a href="Emitter.js.html">Emitter.js</a>, <a href="Emitter.js.html#line148">line 148</a>
191
- </li></ul></dd>
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
- </dl>
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
- </div>
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
- </article>
237
-
238
- </section>
239
-
240
-
241
-
242
-
243
-
244
-
245
-
246
- <section>
247
-
248
- <header>
249
-
250
- <h2>once</h2>
251
-
252
-
253
- </header>
254
-
255
- <article>
256
- <div class="container-overview">
257
-
258
-
259
-
260
-
261
-
262
- <h4 class="name" id="once"><span class="type-signature"></span>new once<span class="signature">(event, listener)</span><span class="type-signature"></span></h4>
263
-
264
-
265
-
266
-
267
-
268
- <div class="description">
269
- Attach an event listener to the passed event which will only fire once.
270
- </div>
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
- <h5>Parameters:</h5>
281
-
282
-
283
- <table class="params">
284
- <thead>
285
- <tr>
286
-
287
- <th>Name</th>
288
-
289
-
290
- <th>Type</th>
291
-
292
-
293
-
294
-
295
-
296
- <th class="last">Description</th>
297
- </tr>
298
- </thead>
299
-
300
- <tbody>
301
-
302
-
303
- <tr>
304
-
305
- <td class="name"><code>event</code></td>
306
-
307
-
308
- <td class="type">
309
-
310
-
311
- <span class="param-type">String</span>
312
-
313
-
314
-
315
- </td>
316
-
317
-
318
-
319
-
320
-
321
- <td class="description last">The name of the event to listen for.</td>
322
- </tr>
323
-
324
-
325
-
326
- <tr>
327
-
328
- <td class="name"><code>listener</code></td>
329
-
330
-
331
- <td class="type">
332
-
333
-
334
- <span class="param-type">function</span>
335
-
336
-
337
-
338
- </td>
339
-
340
-
341
-
342
-
343
-
344
- <td class="description last">The method to call when the event is fired.</td>
345
- </tr>
346
-
347
-
348
- </tbody>
349
- </table>
350
-
351
-
352
-
353
-
354
-
355
-
356
- <dl class="details">
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
- <dt class="tag-source">Source:</dt>
384
- <dd class="tag-source"><ul class="dummy"><li>
385
- <a href="Emitter.js.html">Emitter.js</a>, <a href="Emitter.js.html#line127">line 127</a>
386
- </li></ul></dd>
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
- </dl>
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
-
412
- </div>
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
- </article>
432
-
433
- </section>
434
-
435
-
436
-
437
-
438
- </div>
439
-
440
- <nav>
441
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="deferEmit.html">deferEmit</a></li><li><a href="global.html#emit">emit</a></li><li><a href="emitStatic.html">emitStatic</a></li><li><a href="emitStaticId.html">emitStaticId</a></li><li><a href="off.html">off</a></li><li><a href="on.html">on</a></li><li><a href="once.html">once</a></li><li><a href="willEmit.html">willEmit</a></li><li><a href="willEmitId.html">willEmitId</a></li></ul><h3>Global</h3><ul><li><a href="global.html#$main">$main</a></li></ul>
442
- </nav>
443
-
444
- <br class="clear">
445
-
446
- <footer>
447
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Mon Oct 30 2017 16:01:17 GMT+0000 (GMT)
448
- </footer>
449
-
450
- <script> prettyPrint(); </script>
451
- <script src="scripts/linenumber.js"> </script>
452
- </body>
453
- </html>
package/doc/willEmit.html DELETED
@@ -1,234 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>JSDoc: Class: willEmit</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">Class: willEmit</h1>
21
-
22
-
23
-
24
-
25
-
26
-
27
- <section>
28
-
29
- <header>
30
-
31
- <h2>willEmit</h2>
32
-
33
-
34
- </header>
35
-
36
- <article>
37
- <div class="container-overview">
38
-
39
-
40
-
41
-
42
-
43
- <h4 class="name" id="willEmit"><span class="type-signature"></span>new willEmit<span class="signature">(event)</span><span class="type-signature"> &rarr; {boolean}</span></h4>
44
-
45
-
46
-
47
-
48
-
49
- <div class="description">
50
- Checks if an event has any event listeners or not.
51
- </div>
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
- <h5>Parameters:</h5>
62
-
63
-
64
- <table class="params">
65
- <thead>
66
- <tr>
67
-
68
- <th>Name</th>
69
-
70
-
71
- <th>Type</th>
72
-
73
-
74
-
75
-
76
-
77
- <th class="last">Description</th>
78
- </tr>
79
- </thead>
80
-
81
- <tbody>
82
-
83
-
84
- <tr>
85
-
86
- <td class="name"><code>event</code></td>
87
-
88
-
89
- <td class="type">
90
-
91
-
92
- <span class="param-type">String</span>
93
-
94
-
95
-
96
- </td>
97
-
98
-
99
-
100
-
101
-
102
- <td class="description last">The name of the event to check for.</td>
103
- </tr>
104
-
105
-
106
- </tbody>
107
- </table>
108
-
109
-
110
-
111
-
112
-
113
-
114
- <dl class="details">
115
-
116
-
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
- <dt class="tag-source">Source:</dt>
142
- <dd class="tag-source"><ul class="dummy"><li>
143
- <a href="Emitter.js.html">Emitter.js</a>, <a href="Emitter.js.html#line607">line 607</a>
144
- </li></ul></dd>
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
- </dl>
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
- <h5>Returns:</h5>
167
-
168
-
169
- <div class="param-desc">
170
- True if one or more event listeners are registered for
171
- the event. False if none are found.
172
- </div>
173
-
174
-
175
-
176
- <dl>
177
- <dt>
178
- Type
179
- </dt>
180
- <dd>
181
-
182
- <span class="param-type">boolean</span>
183
-
184
-
185
- </dd>
186
- </dl>
187
-
188
-
189
-
190
-
191
-
192
-
193
- </div>
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
-
212
- </article>
213
-
214
- </section>
215
-
216
-
217
-
218
-
219
- </div>
220
-
221
- <nav>
222
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="deferEmit.html">deferEmit</a></li><li><a href="global.html#emit">emit</a></li><li><a href="emitStatic.html">emitStatic</a></li><li><a href="emitStaticId.html">emitStaticId</a></li><li><a href="off.html">off</a></li><li><a href="on.html">on</a></li><li><a href="once.html">once</a></li><li><a href="willEmit.html">willEmit</a></li><li><a href="willEmitId.html">willEmitId</a></li></ul><h3>Global</h3><ul><li><a href="global.html#$main">$main</a></li></ul>
223
- </nav>
224
-
225
- <br class="clear">
226
-
227
- <footer>
228
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a> on Mon Oct 30 2017 16:01:17 GMT+0000 (GMT)
229
- </footer>
230
-
231
- <script> prettyPrint(); </script>
232
- <script src="scripts/linenumber.js"> </script>
233
- </body>
234
- </html>