| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e3105cf commit 3858861
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -322,9 +322,12 @@ function linkJsTypeDocs(text) { | |||
| 322 | 322 | } | |
| 323 | 323 | ||
| 324 | 324 | function parseAPIHeader(text) { | |
| 325 | + const classNames = 'api_stability api_stability_$2'; | ||
| 326 | + const docsUrl = 'documentation.html#documentation_stability_index'; | ||
| 327 | + | ||
| 325 | 328 | text = text.replace( | |
| 326 | 329 | STABILITY_TEXT_REG_EXP, | |
| 327 | - '<pre class="api_stability api_stability_$2">$1 $2$3</pre>' | ||
| 330 | + `<pre class="${classNames}"><a href="${docsUrl}">$1 $2</a>$3</pre>` | ||
| 328 | 331 | ); | |
| 329 | 332 | return text; | |
| 330 | 333 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments