@bartificer/linkify 2.4.0 → 2.4.1
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/README.md +135 -35
- package/dist/index.js +1 -1
- package/docs/LinkData.class.mjs.html +28 -53
- package/docs/LinkTemplate.class.mjs.html +29 -33
- package/docs/Linkifier.class.mjs.html +46 -59
- package/docs/PageData.class.mjs.html +54 -69
- package/docs/defaults.mjs.html +22 -2
- package/docs/docdash-overrides.css +9 -3
- package/docs/externals.jsdoc.html +6 -2
- package/docs/global.html +1276 -0
- package/docs/index.html +114 -45
- package/docs/index.js.html +7 -3
- package/docs/mermaid-init.js +21 -0
- package/docs/module-cheerio.html +6 -2
- package/docs/module-defaults.html +100 -5
- package/docs/module-link-data.LinkData.html +81 -212
- package/docs/module-link-data.html +8 -4
- package/docs/module-link-template.LinkTemplate.html +71 -96
- package/docs/module-link-template.html +8 -4
- package/docs/module-linkifier.Linkifier.html +103 -376
- package/docs/module-linkifier.html +6 -2
- package/docs/module-linkify.html +7 -3
- package/docs/module-mustache.html +6 -2
- package/docs/module-node-fetch.html +6 -2
- package/docs/module-page-data.PageData.html +224 -202
- package/docs/module-page-data.html +8 -4
- package/docs/module-title-case.html +6 -2
- package/docs/module-urijs.html +6 -2
- package/docs/module-url-slug.html +6 -2
- package/docs/module-utilities.html +74 -24
- package/docs/typedefs.jsdoc.html +145 -0
- package/docs/utilities.mjs.html +36 -23
- package/package.json +3 -2
- package/src/LinkData.class.mjs +22 -51
- package/src/LinkTemplate.class.mjs +23 -31
- package/src/Linkifier.class.mjs +40 -57
- package/src/PageData.class.mjs +48 -67
- package/src/defaults.mjs +16 -0
- package/src/index.js +1 -1
- package/src/typedefs.jsdoc +52 -0
- package/src/utilities.mjs +30 -21
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<input type="text" id="nav-search" placeholder="Search" />
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
<h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/bartificer/linkify" target="_blank" >On GitHub</a></h2><h2><a href="https://bartificer.net/" target="_blank" >Bartificer Creations</a></h2><h3>Modules</h3><ul><li><a href="module-defaults.html">defaults</a><ul class='members'><li data-type='member'><a href="module-defaults.html#.linkTemplates">linkTemplates</a></li><li data-type='member'><a href="module-defaults.html#.smallWords">smallWords</a></li><li data-type='member'><a href="module-defaults.html#.speciallyCapitalisedWords">speciallyCapitalisedWords</a></li></ul></li><li><a href="module-link-data.html">link-data</a></li><li><a href="module-link-template.html">link-template</a></li><li><a href="module-linkifier.html">linkifier</a></li><li><a href="module-linkify.html">linkify</a><ul class='members'><li data-type='member'><a href="module-linkify.html#.LinkData">LinkData</a></li><li data-type='member'><a href="module-linkify.html#.LinkTemplate">LinkTemplate</a></li><li data-type='member'><a href="module-linkify.html#.Linkifier">Linkifier</a></li><li data-type='member'><a href="module-linkify.html#.PageData">PageData</a></li><li data-type='member'><a href="module-linkify.html#.VERSION">VERSION</a></li><li data-type='member'><a href="module-linkify.html#.default">default</a></li><li data-type='member'><a href="module-linkify.html#.linkify">linkify</a></li></ul></li><li><a href="module-page-data.html">page-data</a></li><li><a href="module-utilities.html">utilities</a><ul class='methods'><li data-type='method'><a href="module-utilities.html#.batchFixCustomWordCases">batchFixCustomWordCases</a></li><li data-type='method'><a href="module-utilities.html#.escapeRegex">escapeRegex</a></li><li data-type='method'><a href="module-utilities.html#.extractSlug">extractSlug</a></li><li data-type='method'><a href="module-utilities.html#.regulariseWhitespace">regulariseWhitespace</a></li><li data-type='method'><a href="module-utilities.html#.stripQueryString">stripQueryString</a></li><li data-type='method'><a href="module-utilities.html#.stripUTMParameters">stripUTMParameters</a></li><li data-type='method'><a href="module-utilities.html#.toTitleCase">toTitleCase</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="module-link-data.LinkData.html">LinkData</a><ul class='methods'><li data-type='method'><a href="module-link-data.LinkData.html#asPlainObject">asPlainObject</a></li></ul></li><li><a href="module-link-template.LinkTemplate.html">LinkTemplate</a><ul class='methods'><li data-type='method'><a href="module-link-template.LinkTemplate.html#addFilter">addFilter</a></li><li data-type='method'><a href="module-link-template.LinkTemplate.html#filtersFor">filtersFor</a></li></ul></li><li><a href="module-linkifier.Linkifier.html">Linkifier</a><ul class='methods'><li data-type='method'><a href="module-linkifier.Linkifier.html#fetchPageData">fetchPageData</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#generateLink">generateLink</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTemplate">getTemplate</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTemplateNameForDomain">getTemplateNameForDomain</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTransformerForDomain">getTransformerForDomain</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerDefaultTemplateMapping">registerDefaultTemplateMapping</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerTemplate">registerTemplate</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerTransformer">registerTransformer</a></li></ul></li><li><a href="module-page-data.PageData.html">PageData</a><ul class='methods'><li data-type='method'><a href="module-page-data.PageData.html#addSecondaryHeading">addSecondaryHeading</a></li><li data-type='method'><a href="module-page-data.PageData.html#addTopLevelHeading">addTopLevelHeading</a></li><li data-type='method'><a href="module-page-data.PageData.html#asPlainObject">asPlainObject</a></li><li data-type='method'><a href="module-page-data.PageData.html#h1">h1</a></li><li data-type='method'><a href="module-page-data.PageData.html#h2">h2</a></li></ul></li></ul><h3>Externals</h3><ul><li><a href="module-cheerio.html">cheerio</a></li><li><a href="module-mustache.html">mustache</a></li><li><a href="module-node-fetch.html">node-fetch</a></li><li><a href="module-title-case.html">title-case</a></li><li><a href="module-urijs.html">urijs</a></li><li><a href="module-url-slug.html">url-slug</a></li></ul>
|
|
46
|
+
<h2><a href="index.html">Home</a></h2><h2><a href="https://github.com/bartificer/linkify" target="_blank" >On GitHub</a></h2><h2><a href="https://bartificer.net/" target="_blank" >Bartificer Creations</a></h2><h3>Modules</h3><ul><li><a href="module-defaults.html">defaults</a><ul class='members'><li data-type='member'><a href="module-defaults.html#.linkTemplates">linkTemplates</a></li><li data-type='member'><a href="module-defaults.html#.smallWords">smallWords</a></li><li data-type='member'><a href="module-defaults.html#.speciallyCapitalisedWords">speciallyCapitalisedWords</a></li></ul><ul class='methods'><li data-type='method'><a href="module-defaults.html#.dataTransformer">dataTransformer</a></li></ul></li><li><a href="module-link-data.html">link-data</a></li><li><a href="module-link-template.html">link-template</a></li><li><a href="module-linkifier.html">linkifier</a></li><li><a href="module-linkify.html">linkify</a><ul class='members'><li data-type='member'><a href="module-linkify.html#.LinkData">LinkData</a></li><li data-type='member'><a href="module-linkify.html#.LinkTemplate">LinkTemplate</a></li><li data-type='member'><a href="module-linkify.html#.Linkifier">Linkifier</a></li><li data-type='member'><a href="module-linkify.html#.PageData">PageData</a></li><li data-type='member'><a href="module-linkify.html#.VERSION">VERSION</a></li><li data-type='member'><a href="module-linkify.html#.default">default</a></li><li data-type='member'><a href="module-linkify.html#.linkify">linkify</a></li></ul></li><li><a href="module-page-data.html">page-data</a></li><li><a href="module-utilities.html">utilities</a><ul class='methods'><li data-type='method'><a href="module-utilities.html#.batchFixCustomWordCases">batchFixCustomWordCases</a></li><li data-type='method'><a href="module-utilities.html#.escapeRegex">escapeRegex</a></li><li data-type='method'><a href="module-utilities.html#.extractSlug">extractSlug</a></li><li data-type='method'><a href="module-utilities.html#.regulariseWhitespace">regulariseWhitespace</a></li><li data-type='method'><a href="module-utilities.html#.stripQueryString">stripQueryString</a></li><li data-type='method'><a href="module-utilities.html#.stripUTMParameters">stripUTMParameters</a></li><li data-type='method'><a href="module-utilities.html#.toTitleCase">toTitleCase</a></li></ul></li></ul><h3>Classes</h3><ul><li><a href="module-link-data.LinkData.html">LinkData</a><ul class='methods'><li data-type='method'><a href="module-link-data.LinkData.html#asPlainObject">asPlainObject</a></li></ul></li><li><a href="module-link-template.LinkTemplate.html">LinkTemplate</a><ul class='methods'><li data-type='method'><a href="module-link-template.LinkTemplate.html#addFilter">addFilter</a></li><li data-type='method'><a href="module-link-template.LinkTemplate.html#filtersFor">filtersFor</a></li></ul></li><li><a href="module-linkifier.Linkifier.html">Linkifier</a><ul class='methods'><li data-type='method'><a href="module-linkifier.Linkifier.html#fetchPageData">fetchPageData</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#generateLink">generateLink</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTemplate">getTemplate</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTemplateNameForDomain">getTemplateNameForDomain</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#getTransformerForDomain">getTransformerForDomain</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerDefaultTemplateMapping">registerDefaultTemplateMapping</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerTemplate">registerTemplate</a></li><li data-type='method'><a href="module-linkifier.Linkifier.html#registerTransformer">registerTransformer</a></li></ul></li><li><a href="module-page-data.PageData.html">PageData</a><ul class='methods'><li data-type='method'><a href="module-page-data.PageData.html#addSecondaryHeading">addSecondaryHeading</a></li><li data-type='method'><a href="module-page-data.PageData.html#addTopLevelHeading">addTopLevelHeading</a></li><li data-type='method'><a href="module-page-data.PageData.html#asPlainObject">asPlainObject</a></li><li data-type='method'><a href="module-page-data.PageData.html#h1">h1</a></li><li data-type='method'><a href="module-page-data.PageData.html#h2">h2</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#dataTransformer">dataTransformer</a></li><li><a href="global.html#plainLinkInformationObject">plainLinkInformationObject</a></li><li><a href="global.html#plainPageInformationObject">plainPageInformationObject</a></li><li><a href="global.html#templateFieldFilterFunction">templateFieldFilterFunction</a></li><li><a href="global.html#templateFieldFilterTuple">templateFieldFilterTuple</a></li></ul><h3>Externals</h3><ul><li><a href="module-cheerio.html">cheerio</a></li><li><a href="module-mustache.html">mustache</a></li><li><a href="module-node-fetch.html">node-fetch</a></li><li><a href="module-title-case.html">title-case</a></li><li><a href="module-urijs.html">urijs</a></li><li><a href="module-url-slug.html">url-slug</a></li></ul>
|
|
47
47
|
|
|
48
48
|
</nav>
|
|
49
49
|
|
|
@@ -93,6 +93,9 @@
|
|
|
93
93
|
|
|
94
94
|
<dl class="details">
|
|
95
95
|
|
|
96
|
+
<dt class="tag-description">Description:</dt>
|
|
97
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Builds a Linkifier instance ready for use rendering links using the default configration.</p></li></ul></dd>
|
|
98
|
+
|
|
96
99
|
|
|
97
100
|
|
|
98
101
|
<dt class="tag-source">Source:</dt>
|
|
@@ -127,6 +130,13 @@
|
|
|
127
130
|
|
|
128
131
|
|
|
129
132
|
|
|
133
|
+
|
|
134
|
+
<dt class="tag-see">See:</dt>
|
|
135
|
+
<dd class="tag-see">
|
|
136
|
+
<ul>
|
|
137
|
+
<li><a href="module-defaults.html">module:defaults</a> for the default configuration settings.</li>
|
|
138
|
+
</ul>
|
|
139
|
+
</dd>
|
|
130
140
|
|
|
131
141
|
|
|
132
142
|
|
|
@@ -182,7 +192,7 @@
|
|
|
182
192
|
|
|
183
193
|
|
|
184
194
|
|
|
185
|
-
<h4 class="name" id="defaultTemplate"><span class="type-signature"
|
|
195
|
+
<h4 class="name" id="defaultTemplate"><span class="type-signature type-signature-readonly">(readonly) </span>defaultTemplate<span class="type-signature"> :<a href="module-link-template.LinkTemplate.html">module:link-template.LinkTemplate</a></span></h4>
|
|
186
196
|
|
|
187
197
|
|
|
188
198
|
|
|
@@ -197,7 +207,7 @@
|
|
|
197
207
|
|
|
198
208
|
<dt class="tag-source">Source:</dt>
|
|
199
209
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
200
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
210
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line202">line 202</a>
|
|
201
211
|
</li></ul></dd>
|
|
202
212
|
|
|
203
213
|
|
|
@@ -246,7 +256,7 @@
|
|
|
246
256
|
<ul>
|
|
247
257
|
<li>
|
|
248
258
|
|
|
249
|
-
<span class="param-type">module:
|
|
259
|
+
<span class="param-type"><a href="module-link-template.LinkTemplate.html">module:link-template.LinkTemplate</a></span>
|
|
250
260
|
|
|
251
261
|
|
|
252
262
|
|
|
@@ -260,7 +270,7 @@
|
|
|
260
270
|
|
|
261
271
|
|
|
262
272
|
|
|
263
|
-
<h4 class="name" id="defaultTemplateName"><span class="type-signature"></span>defaultTemplateName<span class="type-signature"
|
|
273
|
+
<h4 class="name" id="defaultTemplateName"><span class="type-signature"></span>defaultTemplateName<span class="type-signature"> :string</span></h4>
|
|
264
274
|
|
|
265
275
|
|
|
266
276
|
|
|
@@ -268,11 +278,14 @@
|
|
|
268
278
|
|
|
269
279
|
<dl class="details">
|
|
270
280
|
|
|
281
|
+
<dt class="tag-description">Description:</dt>
|
|
282
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The name of the default template used when rendering links.</p></li></ul></dd>
|
|
283
|
+
|
|
271
284
|
|
|
272
285
|
|
|
273
286
|
<dt class="tag-source">Source:</dt>
|
|
274
287
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
275
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
288
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line186">line 186</a>
|
|
276
289
|
</li></ul></dd>
|
|
277
290
|
|
|
278
291
|
|
|
@@ -311,67 +324,22 @@
|
|
|
311
324
|
|
|
312
325
|
|
|
313
326
|
|
|
327
|
+
<div class="description usertext">
|
|
328
|
+
<p>The name of the default template used when rendering links.</p>
|
|
329
|
+
</div>
|
|
314
330
|
|
|
315
331
|
|
|
316
332
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
333
|
+
<h5 class="h5-types">Type:</h5>
|
|
334
|
+
<ul>
|
|
335
|
+
<li>
|
|
322
336
|
|
|
323
|
-
<
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
<dl class="details">
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
<dt class="tag-source">Source:</dt>
|
|
334
|
-
<dd class="tag-source"><ul class="dummy"><li>
|
|
335
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line197">line 197</a>
|
|
336
|
-
</li></ul></dd>
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
</dl>
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
337
|
+
<span class="param-type">string</span>
|
|
372
338
|
|
|
373
339
|
|
|
374
340
|
|
|
341
|
+
</li>
|
|
342
|
+
</ul>
|
|
375
343
|
|
|
376
344
|
|
|
377
345
|
|
|
@@ -380,7 +348,7 @@
|
|
|
380
348
|
|
|
381
349
|
|
|
382
350
|
|
|
383
|
-
<h4 class="name" id="speciallyCapitalisedWords"><span class="type-signature"></span>speciallyCapitalisedWords<span class="type-signature"></span></h4>
|
|
351
|
+
<h4 class="name" id="speciallyCapitalisedWords"><span class="type-signature"></span>speciallyCapitalisedWords<span class="type-signature"> :Array.<string></span></h4>
|
|
384
352
|
|
|
385
353
|
|
|
386
354
|
|
|
@@ -388,11 +356,14 @@
|
|
|
388
356
|
|
|
389
357
|
<dl class="details">
|
|
390
358
|
|
|
359
|
+
<dt class="tag-description">Description:</dt>
|
|
360
|
+
<dd class="tag-description"><ul class="dummy"><li><p>The list of known words with special capitalisations. The words should be capitalised in the descired manner.</p></li></ul></dd>
|
|
361
|
+
|
|
391
362
|
|
|
392
363
|
|
|
393
364
|
<dt class="tag-source">Source:</dt>
|
|
394
365
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
395
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
366
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line110">line 110</a>
|
|
396
367
|
</li></ul></dd>
|
|
397
368
|
|
|
398
369
|
|
|
@@ -431,67 +402,22 @@
|
|
|
431
402
|
|
|
432
403
|
|
|
433
404
|
|
|
405
|
+
<div class="description usertext">
|
|
406
|
+
<p>The list of known words with special capitalisations. The words should be capitalised in the descired manner.</p>
|
|
407
|
+
</div>
|
|
434
408
|
|
|
435
409
|
|
|
436
410
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
411
|
+
<h5 class="h5-types">Type:</h5>
|
|
412
|
+
<ul>
|
|
413
|
+
<li>
|
|
442
414
|
|
|
443
|
-
<
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
<dl class="details">
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
<dt class="tag-source">Source:</dt>
|
|
454
|
-
<dd class="tag-source"><ul class="dummy"><li>
|
|
455
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line117">line 117</a>
|
|
456
|
-
</li></ul></dd>
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
</dl>
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
415
|
+
<span class="param-type">Array.<string></span>
|
|
492
416
|
|
|
493
417
|
|
|
494
418
|
|
|
419
|
+
</li>
|
|
420
|
+
</ul>
|
|
495
421
|
|
|
496
422
|
|
|
497
423
|
|
|
@@ -500,7 +426,7 @@
|
|
|
500
426
|
|
|
501
427
|
|
|
502
428
|
|
|
503
|
-
<h4 class="name" id="templateNames"><span class="type-signature"
|
|
429
|
+
<h4 class="name" id="templateNames"><span class="type-signature type-signature-readonly">(readonly) </span>templateNames<span class="type-signature"> :Array.<string></span></h4>
|
|
504
430
|
|
|
505
431
|
|
|
506
432
|
|
|
@@ -515,7 +441,7 @@
|
|
|
515
441
|
|
|
516
442
|
<dt class="tag-source">Source:</dt>
|
|
517
443
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
518
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
444
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line177">line 177</a>
|
|
519
445
|
</li></ul></dd>
|
|
520
446
|
|
|
521
447
|
|
|
@@ -586,11 +512,14 @@
|
|
|
586
512
|
|
|
587
513
|
<dl class="details">
|
|
588
514
|
|
|
515
|
+
<dt class="tag-description">Description:</dt>
|
|
516
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Shorthand property for <code>.utilities</code>.</p></li></ul></dd>
|
|
517
|
+
|
|
589
518
|
|
|
590
519
|
|
|
591
520
|
<dt class="tag-source">Source:</dt>
|
|
592
521
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
593
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
522
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line102">line 102</a>
|
|
594
523
|
</li></ul></dd>
|
|
595
524
|
|
|
596
525
|
|
|
@@ -624,7 +553,7 @@
|
|
|
624
553
|
<dt class="tag-see">See:</dt>
|
|
625
554
|
<dd class="tag-see">
|
|
626
555
|
<ul>
|
|
627
|
-
<li>
|
|
556
|
+
<li><a href="module-linkifier.Linkifier.html#utilities">module:linkifier.Linkifier#utilities</a></li>
|
|
628
557
|
</ul>
|
|
629
558
|
</dd>
|
|
630
559
|
|
|
@@ -636,6 +565,10 @@
|
|
|
636
565
|
|
|
637
566
|
|
|
638
567
|
|
|
568
|
+
<div class="description usertext">
|
|
569
|
+
<p>Shorthand property for <code>.utilities</code>.</p>
|
|
570
|
+
</div>
|
|
571
|
+
|
|
639
572
|
|
|
640
573
|
|
|
641
574
|
|
|
@@ -645,7 +578,7 @@
|
|
|
645
578
|
|
|
646
579
|
|
|
647
580
|
|
|
648
|
-
<h4 class="name" id="utilities"><span class="type-signature"
|
|
581
|
+
<h4 class="name" id="utilities"><span class="type-signature type-signature-readonly">(readonly) </span>utilities<span class="type-signature"> :Object.<string, function()></span></h4>
|
|
649
582
|
|
|
650
583
|
|
|
651
584
|
|
|
@@ -687,6 +620,13 @@
|
|
|
687
620
|
|
|
688
621
|
|
|
689
622
|
|
|
623
|
+
|
|
624
|
+
<dt class="tag-see">See:</dt>
|
|
625
|
+
<dd class="tag-see">
|
|
626
|
+
<ul>
|
|
627
|
+
<li><a href="module-utilities.html">module:utilities</a> for the utility functions available in this collection.</li>
|
|
628
|
+
</ul>
|
|
629
|
+
</dd>
|
|
690
630
|
|
|
691
631
|
|
|
692
632
|
|
|
@@ -725,7 +665,7 @@
|
|
|
725
665
|
|
|
726
666
|
|
|
727
667
|
|
|
728
|
-
<h4 class="name" id="fetchPageData"><span class="type-signature type-signature-async">(async) </span>fetchPageData<span class="signature">(url)</span><span class="type-signature"> → {PageData}</span></h4>
|
|
668
|
+
<h4 class="name" id="fetchPageData"><span class="type-signature type-signature-async">(async) </span>fetchPageData<span class="signature">(url)</span><span class="type-signature"> → {<a href="module-page-data.PageData.html">module:page-data.PageData</a>}</span></h4>
|
|
729
669
|
|
|
730
670
|
|
|
731
671
|
|
|
@@ -741,7 +681,7 @@
|
|
|
741
681
|
|
|
742
682
|
<dt class="tag-source">Source:</dt>
|
|
743
683
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
744
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
684
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line301">line 301</a>
|
|
745
685
|
</li></ul></dd>
|
|
746
686
|
|
|
747
687
|
|
|
@@ -819,7 +759,7 @@
|
|
|
819
759
|
<td class="type">
|
|
820
760
|
|
|
821
761
|
|
|
822
|
-
<span class="param-type">
|
|
762
|
+
<span class="param-type">string</span>
|
|
823
763
|
|
|
824
764
|
|
|
825
765
|
|
|
@@ -850,37 +790,6 @@
|
|
|
850
790
|
|
|
851
791
|
|
|
852
792
|
|
|
853
|
-
<h5 class="h5-throws">Throws:</h5>
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
<dl>
|
|
858
|
-
<dt>
|
|
859
|
-
<div class="param-desc usertext">
|
|
860
|
-
<p>A validation error is thrown unless a valid URL is
|
|
861
|
-
passed.</p>
|
|
862
|
-
</div>
|
|
863
|
-
</dt>
|
|
864
|
-
<dd></dd>
|
|
865
|
-
<dt>
|
|
866
|
-
<dl class="param-type">
|
|
867
|
-
<dt>
|
|
868
|
-
Type
|
|
869
|
-
</dt>
|
|
870
|
-
<dd>
|
|
871
|
-
|
|
872
|
-
<span class="param-type">ValidationError</span>
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
</dd>
|
|
877
|
-
</dl>
|
|
878
|
-
</dt>
|
|
879
|
-
<dd></dd>
|
|
880
|
-
</dl>
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
793
|
|
|
885
794
|
|
|
886
795
|
<h5 class="h5-returns">Returns:</h5>
|
|
@@ -894,7 +803,7 @@ passed.</p>
|
|
|
894
803
|
</dt>
|
|
895
804
|
<dd>
|
|
896
805
|
|
|
897
|
-
<span class="param-type">PageData</span>
|
|
806
|
+
<span class="param-type"><a href="module-page-data.PageData.html">module:page-data.PageData</a></span>
|
|
898
807
|
|
|
899
808
|
|
|
900
809
|
|
|
@@ -928,7 +837,7 @@ default will be used (<code>html</code>).</p></li></ul></dd>
|
|
|
928
837
|
|
|
929
838
|
<dt class="tag-source">Source:</dt>
|
|
930
839
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
931
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
840
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line343">line 343</a>
|
|
932
841
|
</li></ul></dd>
|
|
933
842
|
|
|
934
843
|
|
|
@@ -1010,7 +919,7 @@ default will be used (<code>html</code>).</p></li></ul></dd>
|
|
|
1010
919
|
<td class="type">
|
|
1011
920
|
|
|
1012
921
|
|
|
1013
|
-
<span class="param-type">
|
|
922
|
+
<span class="param-type">string</span>
|
|
1014
923
|
|
|
1015
924
|
|
|
1016
925
|
|
|
@@ -1046,7 +955,7 @@ default will be used (<code>html</code>).</p></li></ul></dd>
|
|
|
1046
955
|
<td class="type">
|
|
1047
956
|
|
|
1048
957
|
|
|
1049
|
-
<span class="param-type">
|
|
958
|
+
<span class="param-type">string</span>
|
|
1050
959
|
|
|
1051
960
|
|
|
1052
961
|
|
|
@@ -1093,37 +1002,6 @@ default will be used (<code>html</code>).</p></li></ul></dd>
|
|
|
1093
1002
|
|
|
1094
1003
|
|
|
1095
1004
|
|
|
1096
|
-
<h5 class="h5-throws">Throws:</h5>
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
<dl>
|
|
1101
|
-
<dt>
|
|
1102
|
-
<div class="param-desc usertext">
|
|
1103
|
-
<p>A validation error is thrown unless a valid URL is
|
|
1104
|
-
passed.</p>
|
|
1105
|
-
</div>
|
|
1106
|
-
</dt>
|
|
1107
|
-
<dd></dd>
|
|
1108
|
-
<dt>
|
|
1109
|
-
<dl class="param-type">
|
|
1110
|
-
<dt>
|
|
1111
|
-
Type
|
|
1112
|
-
</dt>
|
|
1113
|
-
<dd>
|
|
1114
|
-
|
|
1115
|
-
<span class="param-type">ValidationError</span>
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
</dd>
|
|
1120
|
-
</dl>
|
|
1121
|
-
</dt>
|
|
1122
|
-
<dd></dd>
|
|
1123
|
-
</dl>
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
1005
|
|
|
1128
1006
|
|
|
1129
1007
|
<h5 class="h5-returns">Returns:</h5>
|
|
@@ -1153,7 +1031,7 @@ passed.</p>
|
|
|
1153
1031
|
|
|
1154
1032
|
|
|
1155
1033
|
|
|
1156
|
-
<h4 class="name" id="getTemplate"><span class="type-signature"></span>getTemplate<span class="signature">(templateName)</span><span class="type-signature"> → {LinkTemplate}</span></h4>
|
|
1034
|
+
<h4 class="name" id="getTemplate"><span class="type-signature"></span>getTemplate<span class="signature">(templateName)</span><span class="type-signature"> → {<a href="module-link-template.LinkTemplate.html">module:link-template.LinkTemplate</a>}</span></h4>
|
|
1157
1035
|
|
|
1158
1036
|
|
|
1159
1037
|
|
|
@@ -1169,7 +1047,7 @@ passed.</p>
|
|
|
1169
1047
|
|
|
1170
1048
|
<dt class="tag-source">Source:</dt>
|
|
1171
1049
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1172
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
1050
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line226">line 226</a>
|
|
1173
1051
|
</li></ul></dd>
|
|
1174
1052
|
|
|
1175
1053
|
|
|
@@ -1321,7 +1199,7 @@ passed.</p>
|
|
|
1321
1199
|
</dt>
|
|
1322
1200
|
<dd>
|
|
1323
1201
|
|
|
1324
|
-
<span class="param-type">LinkTemplate</span>
|
|
1202
|
+
<span class="param-type"><a href="module-link-template.LinkTemplate.html">module:link-template.LinkTemplate</a></span>
|
|
1325
1203
|
|
|
1326
1204
|
|
|
1327
1205
|
|
|
@@ -1337,7 +1215,7 @@ passed.</p>
|
|
|
1337
1215
|
|
|
1338
1216
|
|
|
1339
1217
|
|
|
1340
|
-
<h4 class="name" id="getTemplateNameForDomain"><span class="type-signature"></span>getTemplateNameForDomain<span class="signature">(domain)</span><span class="type-signature"> → {dataTransformer}</span></h4>
|
|
1218
|
+
<h4 class="name" id="getTemplateNameForDomain"><span class="type-signature"></span>getTemplateNameForDomain<span class="signature">(domain)</span><span class="type-signature"> → {<a href="global.html#dataTransformer">dataTransformer</a>}</span></h4>
|
|
1341
1219
|
|
|
1342
1220
|
|
|
1343
1221
|
|
|
@@ -1349,17 +1227,17 @@ passed.</p>
|
|
|
1349
1227
|
<dt class="tag-description">Description:</dt>
|
|
1350
1228
|
<dd class="tag-description"><ul class="dummy"><li><p>Get the data transformer function for a given domain.</p>
|
|
1351
1229
|
<p>Note that domains are searched from the subdomain up. For example, if passed
|
|
1352
|
-
the domain <code>www.bartificer.
|
|
1353
|
-
transformer for the domain <code>www.bartificer.
|
|
1230
|
+
the domain <code>www.bartificer.ie</code> the function will first look for a
|
|
1231
|
+
transformer for the domain <code>www.bartificer.ie</code>, if there's no transformer
|
|
1354
1232
|
registered for that domain it will look for a transformer for the domain
|
|
1355
|
-
<code>bartificer.
|
|
1233
|
+
<code>bartificer.ie</code>, if there's no transformer for that domain either it will
|
|
1356
1234
|
return the default transformer.</p></li></ul></dd>
|
|
1357
1235
|
|
|
1358
1236
|
|
|
1359
1237
|
|
|
1360
1238
|
<dt class="tag-source">Source:</dt>
|
|
1361
1239
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1362
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
1240
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line265">line 265</a>
|
|
1363
1241
|
</li></ul></dd>
|
|
1364
1242
|
|
|
1365
1243
|
|
|
@@ -1437,7 +1315,7 @@ return the default transformer.</p></li></ul></dd>
|
|
|
1437
1315
|
<td class="type">
|
|
1438
1316
|
|
|
1439
1317
|
|
|
1440
|
-
<span class="param-type">
|
|
1318
|
+
<span class="param-type">string</span>
|
|
1441
1319
|
|
|
1442
1320
|
|
|
1443
1321
|
|
|
@@ -1448,7 +1326,7 @@ return the default transformer.</p></li></ul></dd>
|
|
|
1448
1326
|
|
|
1449
1327
|
|
|
1450
1328
|
|
|
1451
|
-
<td class="description last"><p>The domain to get the data transformer for.</p></td>
|
|
1329
|
+
<td class="description last"><p>The fully qualified domain name to get the data transformer for.</p></td>
|
|
1452
1330
|
</tr>
|
|
1453
1331
|
|
|
1454
1332
|
|
|
@@ -1468,37 +1346,6 @@ return the default transformer.</p></li></ul></dd>
|
|
|
1468
1346
|
|
|
1469
1347
|
|
|
1470
1348
|
|
|
1471
|
-
<h5 class="h5-throws">Throws:</h5>
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
<dl>
|
|
1476
|
-
<dt>
|
|
1477
|
-
<div class="param-desc usertext">
|
|
1478
|
-
<p>A validation error is thrown unless a valid domain
|
|
1479
|
-
name is passed.</p>
|
|
1480
|
-
</div>
|
|
1481
|
-
</dt>
|
|
1482
|
-
<dd></dd>
|
|
1483
|
-
<dt>
|
|
1484
|
-
<dl class="param-type">
|
|
1485
|
-
<dt>
|
|
1486
|
-
Type
|
|
1487
|
-
</dt>
|
|
1488
|
-
<dd>
|
|
1489
|
-
|
|
1490
|
-
<span class="param-type">ValidationError</span>
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
</dd>
|
|
1495
|
-
</dl>
|
|
1496
|
-
</dt>
|
|
1497
|
-
<dd></dd>
|
|
1498
|
-
</dl>
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
1349
|
|
|
1503
1350
|
|
|
1504
1351
|
<h5 class="h5-returns">Returns:</h5>
|
|
@@ -1512,7 +1359,7 @@ name is passed.</p>
|
|
|
1512
1359
|
</dt>
|
|
1513
1360
|
<dd>
|
|
1514
1361
|
|
|
1515
|
-
<span class="param-type">dataTransformer</span>
|
|
1362
|
+
<span class="param-type"><a href="global.html#dataTransformer">dataTransformer</a></span>
|
|
1516
1363
|
|
|
1517
1364
|
|
|
1518
1365
|
|
|
@@ -1528,7 +1375,7 @@ name is passed.</p>
|
|
|
1528
1375
|
|
|
1529
1376
|
|
|
1530
1377
|
|
|
1531
|
-
<h4 class="name" id="getTransformerForDomain"><span class="type-signature"></span>getTransformerForDomain<span class="signature">(domain)</span><span class="type-signature"> → {dataTransformer}</span></h4>
|
|
1378
|
+
<h4 class="name" id="getTransformerForDomain"><span class="type-signature"></span>getTransformerForDomain<span class="signature">(domain)</span><span class="type-signature"> → {<a href="global.html#dataTransformer">dataTransformer</a>}</span></h4>
|
|
1532
1379
|
|
|
1533
1380
|
|
|
1534
1381
|
|
|
@@ -1540,17 +1387,17 @@ name is passed.</p>
|
|
|
1540
1387
|
<dt class="tag-description">Description:</dt>
|
|
1541
1388
|
<dd class="tag-description"><ul class="dummy"><li><p>Get the data transformer function for a given domain.</p>
|
|
1542
1389
|
<p>Note that domains are searched from the subdomain up. For example, if passed
|
|
1543
|
-
the domain <code>www.bartificer.
|
|
1544
|
-
transformer for the domain <code>www.bartificer.
|
|
1390
|
+
the domain <code>www.bartificer.ie</code> the function will first look for a
|
|
1391
|
+
transformer for the domain <code>www.bartificer.ie</code>, if there's no transformer
|
|
1545
1392
|
registered for that domain it will look for a transformer for the domain
|
|
1546
|
-
<code>bartificer.
|
|
1393
|
+
<code>bartificer.ie</code>, if there's no transformer for that domain either it will
|
|
1547
1394
|
return the default transformer.</p></li></ul></dd>
|
|
1548
1395
|
|
|
1549
1396
|
|
|
1550
1397
|
|
|
1551
1398
|
<dt class="tag-source">Source:</dt>
|
|
1552
1399
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1553
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
1400
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line151">line 151</a>
|
|
1554
1401
|
</li></ul></dd>
|
|
1555
1402
|
|
|
1556
1403
|
|
|
@@ -1628,7 +1475,7 @@ return the default transformer.</p></li></ul></dd>
|
|
|
1628
1475
|
<td class="type">
|
|
1629
1476
|
|
|
1630
1477
|
|
|
1631
|
-
<span class="param-type">
|
|
1478
|
+
<span class="param-type">string</span>
|
|
1632
1479
|
|
|
1633
1480
|
|
|
1634
1481
|
|
|
@@ -1639,7 +1486,7 @@ return the default transformer.</p></li></ul></dd>
|
|
|
1639
1486
|
|
|
1640
1487
|
|
|
1641
1488
|
|
|
1642
|
-
<td class="description last"><p>The domain to get the data transformer
|
|
1489
|
+
<td class="description last"><p>The fully qualified domain for which to get the data transformer.</p></td>
|
|
1643
1490
|
</tr>
|
|
1644
1491
|
|
|
1645
1492
|
|
|
@@ -1659,37 +1506,6 @@ return the default transformer.</p></li></ul></dd>
|
|
|
1659
1506
|
|
|
1660
1507
|
|
|
1661
1508
|
|
|
1662
|
-
<h5 class="h5-throws">Throws:</h5>
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
<dl>
|
|
1667
|
-
<dt>
|
|
1668
|
-
<div class="param-desc usertext">
|
|
1669
|
-
<p>A validation error is thrown unless a valid domain
|
|
1670
|
-
name is passed.</p>
|
|
1671
|
-
</div>
|
|
1672
|
-
</dt>
|
|
1673
|
-
<dd></dd>
|
|
1674
|
-
<dt>
|
|
1675
|
-
<dl class="param-type">
|
|
1676
|
-
<dt>
|
|
1677
|
-
Type
|
|
1678
|
-
</dt>
|
|
1679
|
-
<dd>
|
|
1680
|
-
|
|
1681
|
-
<span class="param-type">ValidationError</span>
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
</dd>
|
|
1686
|
-
</dl>
|
|
1687
|
-
</dt>
|
|
1688
|
-
<dd></dd>
|
|
1689
|
-
</dl>
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
1509
|
|
|
1694
1510
|
|
|
1695
1511
|
<h5 class="h5-returns">Returns:</h5>
|
|
@@ -1703,7 +1519,7 @@ name is passed.</p>
|
|
|
1703
1519
|
</dt>
|
|
1704
1520
|
<dd>
|
|
1705
1521
|
|
|
1706
|
-
<span class="param-type">dataTransformer</span>
|
|
1522
|
+
<span class="param-type"><a href="global.html#dataTransformer">dataTransformer</a></span>
|
|
1707
1523
|
|
|
1708
1524
|
|
|
1709
1525
|
|
|
@@ -1736,7 +1552,7 @@ override the overall default for this domain and all its subdomains.</p></li></u
|
|
|
1736
1552
|
|
|
1737
1553
|
<dt class="tag-source">Source:</dt>
|
|
1738
1554
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1739
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
1555
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line242">line 242</a>
|
|
1740
1556
|
</li></ul></dd>
|
|
1741
1557
|
|
|
1742
1558
|
|
|
@@ -1814,7 +1630,7 @@ override the overall default for this domain and all its subdomains.</p></li></u
|
|
|
1814
1630
|
<td class="type">
|
|
1815
1631
|
|
|
1816
1632
|
|
|
1817
|
-
<span class="param-type">
|
|
1633
|
+
<span class="param-type">string</span>
|
|
1818
1634
|
|
|
1819
1635
|
|
|
1820
1636
|
|
|
@@ -1825,7 +1641,7 @@ override the overall default for this domain and all its subdomains.</p></li></u
|
|
|
1825
1641
|
|
|
1826
1642
|
|
|
1827
1643
|
|
|
1828
|
-
<td class="description last"><p>The domain for which this template should be used by default.</p></td>
|
|
1644
|
+
<td class="description last"><p>The fully qualified domain name for which this template should be used by default.</p></td>
|
|
1829
1645
|
</tr>
|
|
1830
1646
|
|
|
1831
1647
|
|
|
@@ -1838,7 +1654,7 @@ override the overall default for this domain and all its subdomains.</p></li></u
|
|
|
1838
1654
|
<td class="type">
|
|
1839
1655
|
|
|
1840
1656
|
|
|
1841
|
-
<span class="param-type">
|
|
1657
|
+
<span class="param-type">string</span>
|
|
1842
1658
|
|
|
1843
1659
|
|
|
1844
1660
|
|
|
@@ -1869,37 +1685,6 @@ override the overall default for this domain and all its subdomains.</p></li></u
|
|
|
1869
1685
|
|
|
1870
1686
|
|
|
1871
1687
|
|
|
1872
|
-
<h5 class="h5-throws">Throws:</h5>
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
<dl>
|
|
1877
|
-
<dt>
|
|
1878
|
-
<div class="param-desc usertext">
|
|
1879
|
-
<p>A validation error is thrown if either parameter
|
|
1880
|
-
is missing or invalid.</p>
|
|
1881
|
-
</div>
|
|
1882
|
-
</dt>
|
|
1883
|
-
<dd></dd>
|
|
1884
|
-
<dt>
|
|
1885
|
-
<dl class="param-type">
|
|
1886
|
-
<dt>
|
|
1887
|
-
Type
|
|
1888
|
-
</dt>
|
|
1889
|
-
<dd>
|
|
1890
|
-
|
|
1891
|
-
<span class="param-type">ValidationError</span>
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
</dd>
|
|
1896
|
-
</dl>
|
|
1897
|
-
</dt>
|
|
1898
|
-
<dd></dd>
|
|
1899
|
-
</dl>
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
1688
|
|
|
1904
1689
|
|
|
1905
1690
|
|
|
@@ -1926,7 +1711,7 @@ is missing or invalid.</p>
|
|
|
1926
1711
|
|
|
1927
1712
|
<dt class="tag-source">Source:</dt>
|
|
1928
1713
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1929
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
1714
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line212">line 212</a>
|
|
1930
1715
|
</li></ul></dd>
|
|
1931
1716
|
|
|
1932
1717
|
|
|
@@ -2028,7 +1813,7 @@ is missing or invalid.</p>
|
|
|
2028
1813
|
<td class="type">
|
|
2029
1814
|
|
|
2030
1815
|
|
|
2031
|
-
<span class="param-type">LinkTemplate</span>
|
|
1816
|
+
<span class="param-type"><a href="module-link-template.LinkTemplate.html">module:link-template.LinkTemplate</a></span>
|
|
2032
1817
|
|
|
2033
1818
|
|
|
2034
1819
|
|
|
@@ -2059,37 +1844,6 @@ is missing or invalid.</p>
|
|
|
2059
1844
|
|
|
2060
1845
|
|
|
2061
1846
|
|
|
2062
|
-
<h5 class="h5-throws">Throws:</h5>
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
<dl>
|
|
2067
|
-
<dt>
|
|
2068
|
-
<div class="param-desc usertext">
|
|
2069
|
-
<p>A validation error is thrown unless both a valid
|
|
2070
|
-
name and template object are passed.</p>
|
|
2071
|
-
</div>
|
|
2072
|
-
</dt>
|
|
2073
|
-
<dd></dd>
|
|
2074
|
-
<dt>
|
|
2075
|
-
<dl class="param-type">
|
|
2076
|
-
<dt>
|
|
2077
|
-
Type
|
|
2078
|
-
</dt>
|
|
2079
|
-
<dd>
|
|
2080
|
-
|
|
2081
|
-
<span class="param-type">ValidationError</span>
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
</dd>
|
|
2086
|
-
</dl>
|
|
2087
|
-
</dt>
|
|
2088
|
-
<dd></dd>
|
|
2089
|
-
</dl>
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
1847
|
|
|
2094
1848
|
|
|
2095
1849
|
|
|
@@ -2110,13 +1864,13 @@ name and template object are passed.</p>
|
|
|
2110
1864
|
<dl class="details">
|
|
2111
1865
|
|
|
2112
1866
|
<dt class="tag-description">Description:</dt>
|
|
2113
|
-
<dd class="tag-description"><ul class="dummy"><li><p>Register a data transformer function
|
|
1867
|
+
<dd class="tag-description"><ul class="dummy"><li><p>Register a data transformer function to a domain name.</p></li></ul></dd>
|
|
2114
1868
|
|
|
2115
1869
|
|
|
2116
1870
|
|
|
2117
1871
|
<dt class="tag-source">Source:</dt>
|
|
2118
1872
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2119
|
-
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#
|
|
1873
|
+
<a href="Linkifier.class.mjs.html">Linkifier.class.mjs</a>, <a href="Linkifier.class.mjs.html#line128">line 128</a>
|
|
2120
1874
|
</li></ul></dd>
|
|
2121
1875
|
|
|
2122
1876
|
|
|
@@ -2194,7 +1948,7 @@ name and template object are passed.</p>
|
|
|
2194
1948
|
<td class="type">
|
|
2195
1949
|
|
|
2196
1950
|
|
|
2197
|
-
<span class="param-type">
|
|
1951
|
+
<span class="param-type">string</span>
|
|
2198
1952
|
|
|
2199
1953
|
|
|
2200
1954
|
|
|
@@ -2205,7 +1959,7 @@ name and template object are passed.</p>
|
|
|
2205
1959
|
|
|
2206
1960
|
|
|
2207
1961
|
|
|
2208
|
-
<td class="description last"><p>The domain for which this transformer should be
|
|
1962
|
+
<td class="description last"><p>The fully qualified domain for which this transformer should be
|
|
2209
1963
|
used.</p></td>
|
|
2210
1964
|
</tr>
|
|
2211
1965
|
|
|
@@ -2219,7 +1973,7 @@ used.</p></td>
|
|
|
2219
1973
|
<td class="type">
|
|
2220
1974
|
|
|
2221
1975
|
|
|
2222
|
-
<span class="param-type">dataTransformer</span>
|
|
1976
|
+
<span class="param-type"><a href="global.html#dataTransformer">dataTransformer</a></span>
|
|
2223
1977
|
|
|
2224
1978
|
|
|
2225
1979
|
|
|
@@ -2250,37 +2004,6 @@ used.</p></td>
|
|
|
2250
2004
|
|
|
2251
2005
|
|
|
2252
2006
|
|
|
2253
|
-
<h5 class="h5-throws">Throws:</h5>
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
<dl>
|
|
2258
|
-
<dt>
|
|
2259
|
-
<div class="param-desc usertext">
|
|
2260
|
-
<p>A validation error is thrown if either parameter
|
|
2261
|
-
is missing or invalid.</p>
|
|
2262
|
-
</div>
|
|
2263
|
-
</dt>
|
|
2264
|
-
<dd></dd>
|
|
2265
|
-
<dt>
|
|
2266
|
-
<dl class="param-type">
|
|
2267
|
-
<dt>
|
|
2268
|
-
Type
|
|
2269
|
-
</dt>
|
|
2270
|
-
<dd>
|
|
2271
|
-
|
|
2272
|
-
<span class="param-type">ValidationError</span>
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
</dd>
|
|
2277
|
-
</dl>
|
|
2278
|
-
</dt>
|
|
2279
|
-
<dd></dd>
|
|
2280
|
-
</dl>
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
2007
|
|
|
2285
2008
|
|
|
2286
2009
|
|
|
@@ -2306,7 +2029,7 @@ is missing or invalid.</p>
|
|
|
2306
2029
|
<br class="clear">
|
|
2307
2030
|
|
|
2308
2031
|
<footer>
|
|
2309
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on
|
|
2032
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Apr 15 2026 17:49:51 GMT+0100 (Irish Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
2310
2033
|
</footer>
|
|
2311
2034
|
|
|
2312
2035
|
<script>prettyPrint();</script>
|
|
@@ -2319,5 +2042,9 @@ is missing or invalid.</p>
|
|
|
2319
2042
|
|
|
2320
2043
|
<link type="text/css" rel="stylesheet" href="./docdash-overrides.css">
|
|
2321
2044
|
|
|
2045
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
|
2046
|
+
|
|
2047
|
+
<script src="./mermaid-init.js"></script>
|
|
2048
|
+
|
|
2322
2049
|
</body>
|
|
2323
2050
|
</html>
|