Skip to content

Commit cafa5ea

Browse files
authored
Merge pull request #92 from collierrgbsitisfise/fix-doc-environment-topic
fix | doc for 'environment' module
2 parents 8d8b9f5 + 26b2423 commit cafa5ea

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -712,19 +712,19 @@ In practice, when decoding several million small strings, the GC will kick in mo
712712
<b><code>encoding.RleIntDiffEncoder#bufs: Array&lt;Uint8Array&gt;</code></b><br>
713713
</dl>
714714
</details>
715-
<details><summary><b>[lib0/map]</b> Isomorphic module to work access the environment (query params, env variables).</summary>
716-
<pre>import * as map from 'lib0/environment'</pre>
715+
<details><summary><b>[lib0/environment]</b> Isomorphic module to work access the environment (query params, env variables).</summary>
716+
<pre>import * as env from 'lib0/environment'</pre>
717717
<dl>
718-
<b><code>map.isNode</code></b><br>
719-
<b><code>map.isBrowser</code></b><br>
720-
<b><code>map.isMac</code></b><br>
721-
<b><code>map.hasParam</code></b><br>
722-
<b><code>map.getParam</code></b><br>
723-
<b><code>map.getVariable</code></b><br>
724-
<b><code>map.getConf(name: string): string|null</code></b><br>
725-
<b><code>map.hasConf</code></b><br>
726-
<b><code>map.production</code></b><br>
727-
<b><code>map.supportsColor</code></b><br>
718+
<b><code>env.isNode</code></b><br>
719+
<b><code>env.isBrowser</code></b><br>
720+
<b><code>env.isMac</code></b><br>
721+
<b><code>env.hasParam</code></b><br>
722+
<b><code>env.getParam</code></b><br>
723+
<b><code>env.getVariable</code></b><br>
724+
<b><code>env.getConf(name: string): string|null</code></b><br>
725+
<b><code>env.hasConf</code></b><br>
726+
<b><code>env.production</code></b><br>
727+
<b><code>env.supportsColor</code></b><br>
728728
</dl>
729729
</details>
730730
<details><summary><b>[lib0/error]</b> Error helpers.</summary>

environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Isomorphic module to work access the environment (query params, env variables).
33
*
4-
* @module map
4+
* @module environment
55
*/
66

77
import * as map from './map.js'

0 commit comments

Comments
 (0)