Skip to content

Commit

Permalink
Editorial: replaced ≥ ∞ « “ ≤ — ≠ &r…
Browse files Browse the repository at this point in the history
…aquo; ” × (#907)

with their corresponding non-ascii characters
  • Loading branch information
ben-allen authored Aug 16, 2024
1 parent e2a5747 commit a31417a
Show file tree
Hide file tree
Showing 14 changed files with 123 additions and 123 deletions.
10 changes: 5 additions & 5 deletions spec/collator.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ <h1>Intl.Collator ( [ _locales_ [ , _options_ ] ] )</h1>
</p>
<emu-alg>
1. If NewTarget is *undefined*, let _newTarget_ be the active function object, else let _newTarget_ be NewTarget.
1. Let _internalSlotsList_ be &laquo; [[InitializedCollator]], [[Locale]], [[Usage]], [[Sensitivity]], [[IgnorePunctuation]], [[Collation]], [[BoundCompare]] &raquo;.
1. Let _internalSlotsList_ be « [[InitializedCollator]], [[Locale]], [[Usage]], [[Sensitivity]], [[IgnorePunctuation]], [[Collation]], [[BoundCompare]] ».
1. If %Intl.Collator%.[[RelevantExtensionKeys]] contains *"kn"*, then
1. Append [[Numeric]] to _internalSlotsList_.
1. If %Intl.Collator%.[[RelevantExtensionKeys]] contains *"kf"*, then
1. Append [[CaseFirst]] to _internalSlotsList_.
1. Let _collator_ be ? OrdinaryCreateFromConstructor(_newTarget_, *"%Intl.Collator.prototype%"*, _internalSlotsList_).
1. Let _requestedLocales_ be ? CanonicalizeLocaleList(_locales_).
1. Set _options_ to ? CoerceOptionsToObject(_options_).
1. Let _usage_ be ? GetOption(_options_, *"usage"*, ~string~, &laquo; *"sort"*, *"search"* &raquo;, *"sort"*).
1. Let _usage_ be ? GetOption(_options_, *"usage"*, ~string~, « *"sort"*, *"search"* », *"sort"*).
1. Set _collator_.[[Usage]] to _usage_.
1. If _usage_ is *"sort"*, then
1. Let _localeData_ be %Intl.Collator%.[[SortLocaleData]].
1. Else,
1. Let _localeData_ be %Intl.Collator%.[[SearchLocaleData]].
1. Let _opt_ be a new Record.
1. Let _matcher_ be ? GetOption(_options_, *"localeMatcher"*, ~string~, &laquo; *"lookup"*, *"best fit"* &raquo;, *"best fit"*).
1. Let _matcher_ be ? GetOption(_options_, *"localeMatcher"*, ~string~, « *"lookup"*, *"best fit"* », *"best fit"*).
1. Set _opt_.[[localeMatcher]] to _matcher_.
1. Let _collation_ be ? GetOption(_options_, *"collation"*, ~string~, ~empty~, *undefined*).
1. If _collation_ is not *undefined*, then
Expand All @@ -40,7 +40,7 @@ <h1>Intl.Collator ( [ _locales_ [ , _options_ ] ] )</h1>
1. If _numeric_ is not *undefined*, then
1. Set _numeric_ to ! ToString(_numeric_).
1. Set _opt_.[[kn]] to _numeric_.
1. Let _caseFirst_ be ? GetOption(_options_, *"caseFirst"*, ~string~, &laquo; *"upper"*, *"lower"*, *"false"* &raquo;, *undefined*).
1. Let _caseFirst_ be ? GetOption(_options_, *"caseFirst"*, ~string~, « *"upper"*, *"lower"*, *"false"* », *undefined*).
1. Set _opt_.[[kf]] to _caseFirst_.
1. Let _relevantExtensionKeys_ be %Intl.Collator%.[[RelevantExtensionKeys]].
1. Let _r_ be ResolveLocale(%Intl.Collator%.[[AvailableLocales]], _requestedLocales_, _opt_, _relevantExtensionKeys_, _localeData_).
Expand All @@ -53,7 +53,7 @@ <h1>Intl.Collator ( [ _locales_ [ , _options_ ] ] )</h1>
1. If _relevantExtensionKeys_ contains *"kf"*, then
1. Set _collator_.[[CaseFirst]] to _r_.[[kf]].
1. Let _resolvedLocaleData_ be _r_.[[LocaleData]].
1. Let _sensitivity_ be ? GetOption(_options_, *"sensitivity"*, ~string~, &laquo; *"base"*, *"accent"*, *"case"*, *"variant"* &raquo;, *undefined*).
1. Let _sensitivity_ be ? GetOption(_options_, *"sensitivity"*, ~string~, « *"base"*, *"accent"*, *"case"*, *"variant"* », *undefined*).
1. If _sensitivity_ is *undefined*, then
1. If _usage_ is *"sort"*, then
1. Set _sensitivity_ to *"variant"*.
Expand Down
2 changes: 1 addition & 1 deletion spec/colophon.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<emu-annex id="sec-colophon">
<h1>Colophon</h1>
<p>This specification is authored on <a href="https://github.com/tc39/ecma402">GitHub</a> in a plaintext source format called <a href="https://github.com/bterlson/ecmarkup">Ecmarkup</a>. Ecmarkup is an HTML and Markdown dialect that provides a framework and toolset for authoring ECMAScript specifications in plaintext and processing the specification into a full-featured HTML rendering that follows the editorial conventions for this document. Ecmarkup builds on and integrates a number of other formats and technologies including <a href="https://github.com/rbuckton/grammarkdown">Grammarkdown</a> for defining syntax and <a href="https://github.com/domenic/ecmarkdown">Ecmarkdown</a> for authoring algorithm steps. PDF renderings of this specification are produced by printing the HTML rendering to a PDF.</p>
<p>Prior editions of this specification were authored using Word&mdash;the Ecmarkup source text that formed the basis of this edition was produced by converting the ECMAScript 2015 Word document to Ecmarkup using an automated conversion tool.</p>
<p>Prior editions of this specification were authored using Wordthe Ecmarkup source text that formed the basis of this edition was produced by converting the ECMAScript 2015 Word document to Ecmarkup using an automated conversion tool.</p>
</emu-annex>
2 changes: 1 addition & 1 deletion spec/conventions.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>Notational Conventions</h1>
</emu-note>

<p>
As an extension to the Record Specification Type, the notation &ldquo;[[&lt;_name_&gt;]]&rdquo; denotes a field whose name is given by the variable _name_, which must have a String value. For example, if a variable _s_ has the value *"a"*, then [[&lt;_s_&gt;]] denotes the field [[a]].
As an extension to the Record Specification Type, the notation [[&lt;_name_&gt;]] denotes a field whose name is given by the variable _name_, which must have a String value. For example, if a variable _s_ has the value *"a"*, then [[&lt;_s_&gt;]] denotes the field [[a]].
</p>

<p>
Expand Down
Loading

0 comments on commit a31417a

Please sign in to comment.