Skip to content

Commit

Permalink
Revert attempt at codegen for JSX props
Browse files Browse the repository at this point in the history
It produced bad results. jsx.elements.ts is now handwritten, using
information from MDN.
  • Loading branch information
Gerrit0 committed Oct 17, 2021
1 parent 68d5cbd commit f64b4b7
Show file tree
Hide file tree
Showing 9 changed files with 1,049 additions and 1,895 deletions.
304 changes: 0 additions & 304 deletions scripts/run_codegen.js

This file was deleted.

30 changes: 0 additions & 30 deletions src/codegen/jsx.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/codegen/tsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib/output/themes/default/layouts/default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const defaultLayout = (context: DefaultThemeRenderContext, props: PageEve
<html class="default no-js">
<head>
<meta charSet="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>
{props.model.name === props.project.name ? (
props.project.name
Expand Down
2 changes: 1 addition & 1 deletion src/lib/output/themes/default/partials/member.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DeclarationReflection, ReferenceReflection } from "../../../../models";

export const member = (context: DefaultThemeRenderContext, props: DeclarationReflection) => (
<section class={"tsd-panel tsd-member " + props.cssClasses}>
<a name={props.anchor} class="tsd-anchor"></a>
<a id={props.anchor} class="tsd-anchor"></a>
{!!props.name && (
<h3>
{renderFlags(props.flags)}
Expand Down
Loading

0 comments on commit f64b4b7

Please sign in to comment.