Skip to content

Commit d1d11c9

Browse files
committed
Rename enum value from "tl;dr" → "tlr"
Closes #66.
1 parent 0094d88 commit d1d11c9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ for await (const chunk of stream) {
133133
A created summarizer/writer/rewriter object can be used multiple times. **The only shared state is the initial configuration options**; the inputs do not build on each other. (See more discussion [below](#one-shot-functions-instead-of-summarizer--writer--rewriter-objects).)
134134

135135
```js
136-
const summarizer = await Summarizer.create({ type: "tl;dr" });
136+
const summarizer = await Summarizer.create({ type: "tldr" });
137137

138138
const reviewSummaries = await Promise.all(
139139
Array.from(

index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ dictionary SummarizerSummarizeOptions {
108108
DOMString context;
109109
};
110110

111-
enum SummarizerType { "tl;dr", "teaser", "key-points", "headline" };
111+
enum SummarizerType { "tldr", "teaser", "key-points", "headline" };
112112
enum SummarizerFormat { "plain-text", "markdown" };
113113
enum SummarizerLength { "short", "medium", "long" };
114114
</xmp>
@@ -507,7 +507,7 @@ This section gives normative guidance on how the implementation of [=summarize=]
507507
<th>Meaning
508508
<tbody>
509509
<tr>
510-
<th>"<dfn enum-value for="SummarizerType">tl;dr</dfn>"
510+
<th>"<dfn enum-value for="SummarizerType">tldr</dfn>"
511511
<td>
512512
<p>The summary should be short and to the point, providing a quick overview of the input, suitable for a busy reader.
513513
<tr>
@@ -537,7 +537,7 @@ This section gives normative guidance on how the implementation of [=summarize=]
537537
<p>The guidance is dependent on the value of {{SummarizerType}}:
538538

539539
<dl class="switch">
540-
: "{{SummarizerType/tl;dr}}"
540+
: "{{SummarizerType/tldr}}"
541541
: "{{SummarizerType/teaser}}"
542542
:: The summary should fit within 1 sentence.
543543
: "{{SummarizerType/key-points}}"
@@ -551,7 +551,7 @@ This section gives normative guidance on how the implementation of [=summarize=]
551551
<p>The guidance is dependent on the value of {{SummarizerType}}:
552552

553553
<dl class="switch">
554-
: "{{SummarizerType/tl;dr}}"
554+
: "{{SummarizerType/tldr}}"
555555
: "{{SummarizerType/teaser}}"
556556
:: The summary should fit within 1 short paragraph.
557557
: "{{SummarizerType/key-points}}"
@@ -565,7 +565,7 @@ This section gives normative guidance on how the implementation of [=summarize=]
565565
<p>The guidance is dependent on the value of {{SummarizerType}}:
566566

567567
<dl class="switch">
568-
: "{{SummarizerType/tl;dr}}"
568+
: "{{SummarizerType/tldr}}"
569569
: "{{SummarizerType/teaser}}"
570570
:: The summary should fit within 1 paragraph.
571571
: "{{SummarizerType/key-points}}"

0 commit comments

Comments
 (0)