From a2c24fcbe8cd8170cce3fd89d3750e545a1214c0 Mon Sep 17 00:00:00 2001 From: amekusa Date: Sat, 30 Mar 2024 17:33:07 +0900 Subject: [PATCH] docs: update --- Debugger.html | 4 +- Docolatte.html | 4 +- Exception.html | 4 +- FileImporter.html | 4 +- Hooks.html | 4 +- LightSwitch.html | 4 +- Nav.html | 4 +- Ref.html | 4 +- ScrollWatcher.html | 4 +- SearchDB.html | 4 +- SelectList.html | 4 +- TmplUtil.html | 4 +- Util.html | 88 +++++++++++++++++-- index.html | 6 +- lib_Docolatte.js.html | 4 +- lib_FileImporter.js.html | 12 +-- lib_Hooks.js.html | 4 +- lib_Nav.js.html | 8 +- lib_SearchDB.js.html | 4 +- lib_TmplUtil.js.html | 4 +- lib_Util.js.html | 13 ++- lib_icons.js.html | 4 +- module-jsdoc_doclet.Doclet.html | 4 +- module-jsdoc_doclet.Doclet_meta.code.html | 4 +- module-jsdoc_doclet.Doclet_meta.html | 4 +- module-jsdoc_doclet.html | 4 +- module-jsdoc_name.html | 4 +- module-jsdoc_schema.html | 4 +- module-jsdoc_tutorial-RootTutorial.html | 4 +- module-jsdoc_tutorial-Tutorial.html | 4 +- module-jsdoc_tutorial.html | 4 +- module-jsdoc_util_templateHelper.html | 4 +- node_modules_jsdoc_lib_jsdoc_doclet.js.html | 4 +- node_modules_jsdoc_lib_jsdoc_name.js.html | 4 +- node_modules_jsdoc_lib_jsdoc_schema.js.html | 4 +- node_modules_jsdoc_lib_jsdoc_tutorial.js.html | 4 +- ...sdoc_lib_jsdoc_util_templateHelper.js.html | 4 +- src_scripts_Debugger.js.html | 4 +- src_scripts_Exception.js.html | 4 +- src_scripts_LightSwitch.js.html | 4 +- src_scripts_ScrollWatcher.js.html | 4 +- src_scripts_SelectList.js.html | 4 +- 42 files changed, 178 insertions(+), 97 deletions(-) diff --git a/Debugger.html b/Debugger.html index d1dbde4..bfeb713 100644 --- a/Debugger.html +++ b/Debugger.html @@ -742,13 +742,13 @@
Parameters:
- +
- + \ No newline at end of file diff --git a/Docolatte.html b/Docolatte.html index 2e4bf12..19e94eb 100644 --- a/Docolatte.html +++ b/Docolatte.html @@ -813,13 +813,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/Exception.html b/Exception.html index 27e9bb8..bb7c0bb 100644 --- a/Exception.html +++ b/Exception.html @@ -982,13 +982,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/FileImporter.html b/FileImporter.html index 74a28a9..fc59d3b 100644 --- a/FileImporter.html +++ b/FileImporter.html @@ -656,13 +656,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/Hooks.html b/Hooks.html index 3a4cb73..0ad919c 100644 --- a/Hooks.html +++ b/Hooks.html @@ -820,13 +820,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/LightSwitch.html b/LightSwitch.html index 59ade9b..5c978fb 100644 --- a/LightSwitch.html +++ b/LightSwitch.html @@ -1346,13 +1346,13 @@

syncSwitch
- +
- + \ No newline at end of file diff --git a/Nav.html b/Nav.html index 1f8671e..776d184 100644 --- a/Nav.html +++ b/Nav.html @@ -1092,13 +1092,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/Ref.html b/Ref.html index 73abbd9..499d9c2 100644 --- a/Ref.html +++ b/Ref.html @@ -513,13 +513,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/ScrollWatcher.html b/ScrollWatcher.html index b45bb08..f966adf 100644 --- a/ScrollWatcher.html +++ b/ScrollWatcher.html @@ -497,13 +497,13 @@
Parameters:
- +
- + \ No newline at end of file diff --git a/SearchDB.html b/SearchDB.html index 53b902a..625ac2f 100644 --- a/SearchDB.html +++ b/SearchDB.html @@ -706,13 +706,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/SelectList.html b/SelectList.html index 2648d2a..30f477f 100644 --- a/SelectList.html +++ b/SelectList.html @@ -1309,13 +1309,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/TmplUtil.html b/TmplUtil.html index e5ac8a3..d1ac606 100644 --- a/TmplUtil.html +++ b/TmplUtil.html @@ -2389,13 +2389,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/Util.html b/Util.html index 320930c..bab9939 100644 --- a/Util.html +++ b/Util.html @@ -725,7 +725,7 @@
Parameters:
Source:
- lib/Util.js, line 215 + lib/Util.js, line 223
See:
@@ -850,7 +850,7 @@
Parameters:
Source:
- lib/Util.js, line 114 + lib/Util.js, line 122
@@ -1336,7 +1336,7 @@
Parameters:
Source:
- lib/Util.js, line 125 + lib/Util.js, line 133
@@ -1478,7 +1478,7 @@
Parameters:
Source:
- lib/Util.js, line 137 + lib/Util.js, line 145
@@ -1620,7 +1620,7 @@
Parameters:
Source:
- lib/Util.js, line 147 + lib/Util.js, line 155
@@ -1966,7 +1966,7 @@
Properties
Source:
- lib/Util.js, line 188 + lib/Util.js, line 196
@@ -2011,6 +2011,78 @@
Returns:
+ + + + + +

unique()number

+ + + + + + +
+

Returns a unique integer number.

+
+ + + + + + + + + + + + + +
+
Source:
+
+ lib/Util.js, line 114 +
+
+ + + + + + + + + + + + + + + +
Returns:
+ + + +
+
+ Type: +
+
+ +number + +
+
+ + + + + + + + + @@ -2075,13 +2147,13 @@
Returns:
- +
- + \ No newline at end of file diff --git a/index.html b/index.html index 547519e..d5dc1e6 100644 --- a/index.html +++ b/index.html @@ -57,8 +57,8 @@

Docolatte

+

NPM Version NPM License

🍫 Bittersweet theme for JSDoc 3 & 4

-

npm package

  • Docolatte v4 is out! 🎉 @@ -573,13 +573,13 @@

    License

    - +
    - + \ No newline at end of file diff --git a/lib_Docolatte.js.html b/lib_Docolatte.js.html index f50d482..5fa41e4 100644 --- a/lib_Docolatte.js.html +++ b/lib_Docolatte.js.html @@ -467,13 +467,13 @@

    - +
    - + diff --git a/lib_FileImporter.js.html b/lib_FileImporter.js.html index de447f0..b5d433b 100644 --- a/lib_FileImporter.js.html +++ b/lib_FileImporter.js.html @@ -125,7 +125,7 @@

    let r; switch (method) { case 'module': - try { r = require.resolve(find[i]) } catch (e) { + try { r = require.resolve(find[i]); } catch (e) { if (e.code == 'MODULE_NOT_FOUND') continue; throw e; } @@ -160,7 +160,7 @@

    url = src; if (!type) type = map(ext(src), typeMap); - console.log('---- File Link ----') + console.log('---- File Link ----'); console.log(' type:', type); console.log(' src:', src); @@ -185,12 +185,12 @@

    if (create) { writeFileSync(dst, src); - console.log('---- File Creation ----') + console.log('---- File Creation ----'); console.log(' type:', type); console.log(' dst:', dst); } else { copyFileSync(src, dst); - console.log('---- File Import ----') + console.log('---- File Import ----'); console.log(' type:', type); console.log(' src:', src); console.log(' dst:', dst); @@ -266,13 +266,13 @@

    - +
    - + diff --git a/lib_Hooks.js.html b/lib_Hooks.js.html index 28509ed..5c0f186 100644 --- a/lib_Hooks.js.html +++ b/lib_Hooks.js.html @@ -180,13 +180,13 @@

    - +
    - + diff --git a/lib_Nav.js.html b/lib_Nav.js.html index 35810fa..f75b9e7 100644 --- a/lib_Nav.js.html +++ b/lib_Nav.js.html @@ -156,8 +156,8 @@

    this.children.forEach(child => { sub += child.build(doclet); }); - r += `<li${sub ? ' class="has-child"' : ''}>` - r += `<a href="${ref.url}">${this.wbr ? $.wbr(ref.text) : ref.text}</a>` + sub + r += `<li${sub ? ' class="has-child"' : ''}>`; + r += `<a href="${ref.url}">${this.wbr ? $.wbr(ref.text) : ref.text}</a>` + sub; r += `</li>`; }); if (r) { @@ -270,13 +270,13 @@

    - +
    - + diff --git a/lib_SearchDB.js.html b/lib_SearchDB.js.html index e21ebcb..20a6258 100644 --- a/lib_SearchDB.js.html +++ b/lib_SearchDB.js.html @@ -217,13 +217,13 @@

    - +
    - + diff --git a/lib_TmplUtil.js.html b/lib_TmplUtil.js.html index 8eeb4ef..91bc2e8 100644 --- a/lib_TmplUtil.js.html +++ b/lib_TmplUtil.js.html @@ -369,13 +369,13 @@

    - +
    - + diff --git a/lib_Util.js.html b/lib_Util.js.html index 9e9c419..38e8603 100644 --- a/lib_Util.js.html +++ b/lib_Util.js.html @@ -150,6 +150,14 @@

    } while (int > 0); return neg ? ('-' + r) : r; } + /** + * Returns a unique integer number. + * @return {number} + */ + unique() { + priv.unique++; + return priv.unique; + } /** * @param {string} file * @return {string} @@ -262,6 +270,7 @@

    // Private vars const priv = { + unique: 0, regexSymbols: /[/\-\\^$*+?.()|[\]{}]/g, charTypes: [ /* do NOT change the order */ @@ -334,13 +343,13 @@

    - +
    - + diff --git a/lib_icons.js.html b/lib_icons.js.html index 93ec094..728d702 100644 --- a/lib_icons.js.html +++ b/lib_icons.js.html @@ -134,13 +134,13 @@

    - +
    - + diff --git a/module-jsdoc_doclet.Doclet.html b/module-jsdoc_doclet.Doclet.html index d618d55..b585aa1 100644 --- a/module-jsdoc_doclet.Doclet.html +++ b/module-jsdoc_doclet.Doclet.html @@ -1285,13 +1285,13 @@

    Throws:
    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_doclet.Doclet_meta.code.html b/module-jsdoc_doclet.Doclet_meta.code.html index bd53cd6..b7af2df 100644 --- a/module-jsdoc_doclet.Doclet_meta.code.html +++ b/module-jsdoc_doclet.Doclet_meta.code.html @@ -232,13 +232,13 @@

    st
    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_doclet.Doclet_meta.html b/module-jsdoc_doclet.Doclet_meta.html index f3191d0..4264a9a 100644 --- a/module-jsdoc_doclet.Doclet_meta.html +++ b/module-jsdoc_doclet.Doclet_meta.html @@ -266,13 +266,13 @@

    st
    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_doclet.html b/module-jsdoc_doclet.html index 76f9b5c..9039afb 100644 --- a/module-jsdoc_doclet.html +++ b/module-jsdoc_doclet.html @@ -300,13 +300,13 @@
    Returns:
    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_name.html b/module-jsdoc_name.html index 3aae47d..00df7ab 100644 --- a/module-jsdoc_name.html +++ b/module-jsdoc_name.html @@ -1478,13 +1478,13 @@
    Returns:
    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_schema.html b/module-jsdoc_schema.html index 8fde2bb..1811edf 100644 --- a/module-jsdoc_schema.html +++ b/module-jsdoc_schema.html @@ -148,13 +148,13 @@

    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_tutorial-RootTutorial.html b/module-jsdoc_tutorial-RootTutorial.html index ac28c95..db95e8f 100644 --- a/module-jsdoc_tutorial-RootTutorial.html +++ b/module-jsdoc_tutorial-RootTutorial.html @@ -423,13 +423,13 @@

    Returns:
    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_tutorial-Tutorial.html b/module-jsdoc_tutorial-Tutorial.html index 5417979..30688c0 100644 --- a/module-jsdoc_tutorial-Tutorial.html +++ b/module-jsdoc_tutorial-Tutorial.html @@ -666,13 +666,13 @@
    Parameters:
    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_tutorial.html b/module-jsdoc_tutorial.html index ee87ad8..584c54e 100644 --- a/module-jsdoc_tutorial.html +++ b/module-jsdoc_tutorial.html @@ -257,13 +257,13 @@
    Properties:
    - +
    - + \ No newline at end of file diff --git a/module-jsdoc_util_templateHelper.html b/module-jsdoc_util_templateHelper.html index 6863890..d7f4577 100644 --- a/module-jsdoc_util_templateHelper.html +++ b/module-jsdoc_util_templateHelper.html @@ -3234,13 +3234,13 @@
    Returns:
    - +
    - + \ No newline at end of file diff --git a/node_modules_jsdoc_lib_jsdoc_doclet.js.html b/node_modules_jsdoc_lib_jsdoc_doclet.js.html index 0544e3e..7e76cae 100644 --- a/node_modules_jsdoc_lib_jsdoc_doclet.js.html +++ b/node_modules_jsdoc_lib_jsdoc_doclet.js.html @@ -663,13 +663,13 @@

    - +
    - + diff --git a/node_modules_jsdoc_lib_jsdoc_name.js.html b/node_modules_jsdoc_lib_jsdoc_name.js.html index 9e0b9fe..353bc67 100644 --- a/node_modules_jsdoc_lib_jsdoc_name.js.html +++ b/node_modules_jsdoc_lib_jsdoc_name.js.html @@ -696,13 +696,13 @@

    - +
    - + diff --git a/node_modules_jsdoc_lib_jsdoc_schema.js.html b/node_modules_jsdoc_lib_jsdoc_schema.js.html index 8d92fd7..6da4ea0 100644 --- a/node_modules_jsdoc_lib_jsdoc_schema.js.html +++ b/node_modules_jsdoc_lib_jsdoc_schema.js.html @@ -765,13 +765,13 @@

    - +
    - + diff --git a/node_modules_jsdoc_lib_jsdoc_tutorial.js.html b/node_modules_jsdoc_lib_jsdoc_tutorial.js.html index 4efe7f4..54e7e45 100644 --- a/node_modules_jsdoc_lib_jsdoc_tutorial.js.html +++ b/node_modules_jsdoc_lib_jsdoc_tutorial.js.html @@ -254,13 +254,13 @@

    - +
    - + diff --git a/node_modules_jsdoc_lib_jsdoc_util_templateHelper.js.html b/node_modules_jsdoc_lib_jsdoc_util_templateHelper.js.html index 83346ec..b9fef14 100644 --- a/node_modules_jsdoc_lib_jsdoc_util_templateHelper.js.html +++ b/node_modules_jsdoc_lib_jsdoc_util_templateHelper.js.html @@ -1126,13 +1126,13 @@

    - +
    - + diff --git a/src_scripts_Debugger.js.html b/src_scripts_Debugger.js.html index 28fdcf4..494d982 100644 --- a/src_scripts_Debugger.js.html +++ b/src_scripts_Debugger.js.html @@ -173,13 +173,13 @@

    - +
    - + diff --git a/src_scripts_Exception.js.html b/src_scripts_Exception.js.html index 78d9673..02f13cf 100644 --- a/src_scripts_Exception.js.html +++ b/src_scripts_Exception.js.html @@ -185,13 +185,13 @@

    - +
    - + diff --git a/src_scripts_LightSwitch.js.html b/src_scripts_LightSwitch.js.html index 8816bd3..9ea3676 100644 --- a/src_scripts_LightSwitch.js.html +++ b/src_scripts_LightSwitch.js.html @@ -295,13 +295,13 @@

    - +
    - + diff --git a/src_scripts_ScrollWatcher.js.html b/src_scripts_ScrollWatcher.js.html index cc5c850..67029ec 100644 --- a/src_scripts_ScrollWatcher.js.html +++ b/src_scripts_ScrollWatcher.js.html @@ -234,13 +234,13 @@

    - +
    - + diff --git a/src_scripts_SelectList.js.html b/src_scripts_SelectList.js.html index 850366c..e6285eb 100644 --- a/src_scripts_SelectList.js.html +++ b/src_scripts_SelectList.js.html @@ -228,13 +228,13 @@

    - +
    - +