Skip to content

Commit e7d8c6d

Browse files
committed
Updated docs, latest release (0.6.2)
1 parent 6a6e08a commit e7d8c6d

14 files changed

Lines changed: 24 additions & 17 deletions

Router.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ <h5>Example</h5>
18621862
<br class="clear">
18631863

18641864
<footer>
1865-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
1865+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
18661866
</footer>
18671867

18681868
<script>prettyPrint();</script>

Router.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ <h1 class="page-title">Router.js</h1>
398398
<br class="clear">
399399

400400
<footer>
401-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
401+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
402402
</footer>
403403

404404
<script>prettyPrint();</script>

RouterRequest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2284,7 +2284,7 @@ <h5>Returns:</h5>
22842284
<br class="clear">
22852285

22862286
<footer>
2287-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
2287+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
22882288
</footer>
22892289

22902290
<script>prettyPrint();</script>

RouterResponse.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ <h5>Returns:</h5>
991991
<br class="clear">
992992

993993
<footer>
994-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
994+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
995995
</footer>
996996

997997
<script>prettyPrint();</script>

RouterStack.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ <h5>Example</h5>
545545
<br class="clear">
546546

547547
<footer>
548-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
548+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
549549
</footer>
550550

551551
<script>prettyPrint();</script>

global.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ <h5>Example</h5>
552552
<br class="clear">
553553

554554
<footer>
555-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
555+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
556556
</footer>
557557

558558
<script>prettyPrint();</script>

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ <h3>Mixed Route/Resource handler</h3>
410410
};
411411
</code></pre>
412412
<h3>Asynchronous handler</h3>
413-
<p>If you must use an explicit <code>Promise</code> or return a promised event, always declare your handler method as <code>async</code> function (see examples below).</p>
413+
<p>When using an explicit <code>Promise</code> that returns a promised event, always declare your handler method as <code>async</code> function (see examples below).</p>
414414
<pre class="prettyprint source lang-javascript"><code>// .. appName/src/routes/foo.js
415415

416416
'use strict';
@@ -490,7 +490,7 @@ <h3>Asynchronous example</h3>
490490
if (await checkSession()) {
491491
req.plugin('session', true); // Passed down the chain.
492492
} else {
493-
return Promise.reject()
493+
return Promise.reject('Output to console');
494494
}
495495

496496
// next() should be omitted, use Promise.reject().
@@ -548,7 +548,7 @@ <h2>Author</h2>
548548
<br class="clear">
549549

550550
<footer>
551-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
551+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
552552
</footer>
553553

554554
<script>prettyPrint();</script>

module-router_Common.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ <h5>Example</h5>
16171617
<br class="clear">
16181618

16191619
<footer>
1620-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
1620+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
16211621
</footer>
16221622

16231623
<script>prettyPrint();</script>

module-router_Route.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ <h5>Example</h5>
191191
<br class="clear">
192192

193193
<footer>
194-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
194+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
195195
</footer>
196196

197197
<script>prettyPrint();</script>

router_Common.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ <h1 class="page-title">router/Common.js</h1>
246246
<br class="clear">
247247

248248
<footer>
249-
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Mar 30 2023 13:52:36 GMT-0700 (Pacific Daylight Time) using the Minami theme.
249+
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sat Apr 08 2023 19:50:15 GMT-0700 (Pacific Daylight Time) using the Minami theme.
250250
</footer>
251251

252252
<script>prettyPrint();</script>

0 commit comments

Comments
 (0)