Skip to content

Commit f64b4b7

Browse files
committed
Revert attempt at codegen for JSX props
It produced bad results. jsx.elements.ts is now handwritten, using information from MDN.
1 parent 68d5cbd commit f64b4b7

File tree

9 files changed

+1049
-1895
lines changed

9 files changed

+1049
-1895
lines changed

scripts/run_codegen.js

Lines changed: 0 additions & 304 deletions
This file was deleted.

src/codegen/jsx.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/codegen/tsconfig.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/lib/output/themes/default/layouts/default.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const defaultLayout = (context: DefaultThemeRenderContext, props: PageEve
77
<html class="default no-js">
88
<head>
99
<meta charSet="utf-8" />
10-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
10+
<meta http-equiv="x-ua-compatible" content="IE=edge" />
1111
<title>
1212
{props.model.name === props.project.name ? (
1313
props.project.name

src/lib/output/themes/default/partials/member.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { DeclarationReflection, ReferenceReflection } from "../../../../models";
55

66
export const member = (context: DefaultThemeRenderContext, props: DeclarationReflection) => (
77
<section class={"tsd-panel tsd-member " + props.cssClasses}>
8-
<a name={props.anchor} class="tsd-anchor"></a>
8+
<a id={props.anchor} class="tsd-anchor"></a>
99
{!!props.name && (
1010
<h3>
1111
{renderFlags(props.flags)}

0 commit comments

Comments
 (0)