Skip to content

Commit de7d500

Browse files
committed
fix broken link
1 parent fba0ada commit de7d500

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

content/en/howto-commonjs-modules.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ var mixer = module.exports = {
293293
{% endexample %}
294294

295295
[alias-tag]: tags-alias.html
296+
[exports-tag]: tags-exports.html
296297

297298

298299
## Properties added to 'this'

howto-commonjs-modules.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ <h3 id="string-number-or-boolean-assigned-to-module-exports-">String, number, or
247247
</code></pre>
248248
</figure>
249249
<h2 id="values-assigned-to-module-exports-and-local-variables">Values assigned to &#39;module.exports&#39; and local variables</h2>
250-
<p>If your module exports symbols that are not directly assigned to <code>module.exports</code>, you can use the [
251-
<code>@exports</code> tag][exports-tag] in place of the <code>@module</code> tag. The <code>@exports</code> tag tells JSDoc that a symbol represents the value
252-
exported by a module.</p>
250+
<p>If your module exports symbols that are not directly assigned to <code>module.exports</code>, you can use the
251+
<a href="tags-exports.html"><code>@exports</code> tag</a> in place of the <code>@module</code> tag. The <code>@exports</code> tag tells JSDoc that a symbol
252+
represents the value exported by a module.</p>
253253
<figure>
254254
<figcaption>Object literal assigned to a local variable and module.exports</figcaption><pre class="prettyprint lang-js"><code>/**
255255
* Color mixer.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy