Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove spec tables in JS docs, and replace with macro call #4691

Merged
merged 2 commits into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -180,19 +180,7 @@ <h3 id="Another_example">Another example</h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-static-semantics-constructormethod', 'Constructor
Method')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,7 @@ <h3 id="Using_extends_with_built-in_objects">Using extends with built-in objects

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-class-definitions', 'extends')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
11 changes: 1 addition & 10 deletions files/en-us/web/javascript/reference/classes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -409,16 +409,7 @@ <h2 id="Re-running_a_class_definition">Re-running a class definition</h2>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
</tr>
<tr>
<td>{{SpecName('ESDraft', '#sec-class-definitions', 'Class definitions')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,19 +197,7 @@ <h4 id="Private_instance_methods">Private instance methods</h4>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('Public and private instance fields', '#prod-FieldDefinition',
'FieldDefinition')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,19 +275,7 @@ <h4 id="Public_instance_methods">Public instance methods</h4>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('Public and private instance fields', '#prod-FieldDefinition',
'FieldDefinition')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
13 changes: 1 addition & 12 deletions files/en-us/web/javascript/reference/classes/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,7 @@ <h3 id="Calling_static_members_from_a_class_constructor_and_other_methods">Calli

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-class-definitions', 'Class definitions')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,7 @@ <h3 id="Iteration_using_for...of_loop">Iteration using for...of loop</h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
</tr>
</tbody>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-createunmappedargumentsobject',
'CreateUnmappedArgumentsObject')}}</td>
</tr>
<tr>
<td>{{SpecName('ESDraft', '#sec-createmappedargumentsobject',
'CreateMappedArgumentsObject')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,7 @@ <h3 id="A_use_of_arguments.callee_with_no_good_alternative">A use of <code>argum

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
</tr>
<tr>
<td>{{SpecName('ESDraft', '#sec-arguments-exotic-objects', 'Arguments Exotic Objects')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,18 +197,7 @@ <h3 id="Rest_default_and_destructured_parameters">Rest, default, and destructure

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-arguments-exotic-objects', 'Arguments Exotic Objects')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,7 @@ <h3 id="Using_arguments.length">Using <code>arguments.length</code></h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
</tr>
<tr>
<td>{{SpecName('ESDraft', '#sec-arguments-exotic-objects', 'Arguments Exotic Objects')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,17 +515,7 @@ <h3 id="Basic_usage">Basic usage</h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
</tr>
<tr>
<td>{{SpecName('ESDraft', '#sec-arrow-function-definitions', 'Arrow Function
Definitions')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,19 +237,7 @@ <h3 id="Destructured_parameter_with_default_value_assignment">Destructured param

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-function-definitions', 'Function Definitions')}}
</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
13 changes: 1 addition & 12 deletions files/en-us/web/javascript/reference/functions/get/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,7 @@ <h3 id="get_vs._defineProperty"><code>get</code> vs. <code>defineProperty</code>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-method-definitions', 'Method definitions')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
14 changes: 1 addition & 13 deletions files/en-us/web/javascript/reference/functions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -661,19 +661,7 @@ <h3 id="Determining_whether_a_function_exists">Determining whether a function ex

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-function-definitions', 'Function definitions')}}
</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,18 +211,7 @@ <h3 id="Computed_property_names">Computed property names</h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-method-definitions', 'Method definitions')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,19 +213,7 @@ <h3>Rest parameters are real arrays; the arguments object is not.</h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-function-definitions', 'Function Definitions')}}
</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
13 changes: 1 addition & 12 deletions files/en-us/web/javascript/reference/functions/set/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,7 @@ <h3 id="Using_a_computed_property_name">Using a computed property name</h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-method-definitions', 'Method definitions')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,7 @@ <h3 id="Creating_an_AggregateError">Creating an <code>AggregateError</code></h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('Promise.any', '#sec-aggregate-error-constructor',
'AggregateError()')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,7 @@ <h3 id="Creating_an_AggregateError">Creating an AggregateError</h3>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('ESDraft', '#sec-aggregate-error-objects', 'AggregateError')}}</td>
</tr>
</tbody>
</table>
{{Specifications}}

<h2 id="Browser_compatibility">Browser compatibility</h2>

Expand Down
Loading