Skip to content

Commit 7370f58

Browse files
committed
Fix obsolete documentation and example
1 parent 449ccaf commit 7370f58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ The REPL bundle, `stdlib-repl`, contains all **browser compatible** packages exp
345345

346346
#### Help
347347

348-
The help bundle, `stdlib-flat-help`, contains help texts for packages exposed in the flat namespace and exposes a single `function` which returns an `object` mapping aliases to help texts. While already included in the REPL bundle, this bundle is exposed separately in the event that one wants to independently consume help texts in other contexts.
348+
The help bundle, `stdlib-flat-help`, contains help texts for packages exposed in the flat namespace and exposes a single `function` which returns help texts corresponding to namespace aliases. While already included in the REPL bundle, this bundle is exposed separately in the event that one wants to independently consume help texts in other contexts.
349349

350350
```html
351351
<script type="text/javascript" src="/path/to/stdlib-flat-help.min.js"></script>
@@ -354,7 +354,7 @@ The help bundle, `stdlib-flat-help`, contains help texts for packages exposed in
354354
var help = stdlib_flat_help.help;
355355
356356
// Print the help docs:
357-
console.log( help() );
357+
console.log( help( 'base.sin' ) );
358358
</script>
359359
```
360360

0 commit comments

Comments
 (0)