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

Editorial: Fix edition and apply consistency fixes #556

Merged
merged 2 commits into from
Apr 20, 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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions spec/annexes.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,28 +166,28 @@ <h1>Additions and Changes That Introduce Incompatibilities with Prior Editions</

<ul>
<li>
<emu-xref href="#sec-the-intl-collator-constructor"></emu-xref>, <emu-xref href="#sec-intl-numberformat-constructor"></emu-xref>, <emu-xref href="#sec-intl-datetimeformat-constructor"></emu-xref> In ECMA-402, 1st Edition, constructors could be used to create Intl objects from arbitrary objects. This is no longer possible in 2nd Edition.
<emu-xref href="#sec-the-intl-collator-constructor"></emu-xref>, <emu-xref href="#sec-intl-numberformat-constructor"></emu-xref>, <emu-xref href="#sec-intl-datetimeformat-constructor"></emu-xref> In ECMA-402, 1<sup>st</sup> Edition, constructors could be used to create Intl objects from arbitrary objects. This is no longer possible in 2nd Edition.
</li>
<li>
<emu-xref href="#sec-intl.datetimeformat.prototype.format"></emu-xref> In ECMA-402, 1st Edition, the *"length"* property of the function object _F_ was set to *+0*<sub>𝔽</sub>. In 2nd Edition, *"length"* is set to *1*<sub>𝔽</sub>.
<emu-xref href="#sec-intl.datetimeformat.prototype.format"></emu-xref> In ECMA-402, 1<sup>st</sup> Edition, the *"length"* property of the function object _F_ was set to *+0*<sub>𝔽</sub>. In 2nd Edition, *"length"* is set to *1*<sub>𝔽</sub>.
</li>
<li>
<emu-xref href="#sec-intl.collator.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7th Edition, the @@toStringTag property of `Intl.Collator.prototype` was set to *"Object"*. In 8th Edition, @@toStringTag is set to *"Intl.Collator"*.
<emu-xref href="#sec-intl.collator.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7<sup></sup>th</sup> Edition, the @@toStringTag property of `Intl.Collator.prototype` was set to *"Object"*. In 8<sup>th</sup> Edition, @@toStringTag is set to *"Intl.Collator"*.
</li>
<li>
<emu-xref href="#sec-intl.datetimeformat.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7th Edition, the @@toStringTag property of `Intl.DateTimeFormat.prototype` was set to *"Object"*. In 8th Edition, @@toStringTag is set to *"Intl.DateTimeFormat"*.
<emu-xref href="#sec-intl.datetimeformat.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7<sup>th</sup> Edition, the @@toStringTag property of `Intl.DateTimeFormat.prototype` was set to *"Object"*. In 8<sup>th</sup> Edition, @@toStringTag is set to *"Intl.DateTimeFormat"*.
</li>
<li>
<emu-xref href="#sec-intl.numberformat.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7th Edition, the @@toStringTag property of `Intl.NumberFormat.prototype` was set to *"Object"*. In 8th Edition, @@toStringTag is set to *"Intl.NumberFormat"*.
<emu-xref href="#sec-intl.numberformat.prototype-@@tostringtag"></emu-xref> In ECMA-402, 7<sup>th</sup> Edition, the @@toStringTag property of `Intl.NumberFormat.prototype` was set to *"Object"*. In 8<sup>th</sup> Edition, @@toStringTag is set to *"Intl.NumberFormat"*.
</li>
<li>
<emu-xref href="#sec-intl.pluralrules.prototype-tostringtag"></emu-xref> In ECMA-402, 7th Edition, the @@toStringTag property of `Intl.PluralRules.prototype` was set to *"Object"*. In 8th Edition, @@toStringTag is set to *"Intl.PluralRules"*.
<emu-xref href="#sec-intl.pluralrules.prototype-tostringtag"></emu-xref> In ECMA-402, 7<sup>th</sup> Edition, the @@toStringTag property of `Intl.PluralRules.prototype` was set to *"Object"*. In 8<sup>th</sup> Edition, @@toStringTag is set to *"Intl.PluralRules"*.
</li>
<li>
<emu-xref href="#sec-Intl-toStringTag"></emu-xref> In ECMA-402, 7th Edition, the @@toStringTag property of `Intl` was not defined. In 8th Edition, @@toStringTag is set to *"Intl"*.
<emu-xref href="#sec-Intl-toStringTag"></emu-xref> In ECMA-402, 7<sup>th</sup> Edition, the @@toStringTag property of `Intl` was not defined. In 8<sup>th</sup> Edition, @@toStringTag is set to *"Intl"*.
</li>
<li>
<emu-xref href="#sec-intl-numberformat-constructor"></emu-xref> In ECMA-402, 8th Edition, the NumberFormat constructor used to throw an error when style is *"currency"* and maximumFractionDigits was set to a value lower than the default fractional digits for that currency. This behaviour was corrected in the 9th edition, and it no longer throws an error.
<emu-xref href="#sec-intl-numberformat-constructor"></emu-xref> In ECMA-402, 8<sup>th</sup> Edition, the NumberFormat constructor used to throw an error when style is *"currency"* and maximumFractionDigits was set to a value lower than the default fractional digits for that currency. This behaviour was corrected in the 9<sup>th</sup> edition, and it no longer throws an error.
</li>
</ul>
</emu-annex>
6 changes: 3 additions & 3 deletions spec/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ <h1>Introduction</h1>
This specification's source can be found at <a href="https://github.com/tc39/ecma402">https://github.com/tc39/ecma402</a>.
</p>
<p>
The ECMAScript 2022 Internationalization API Specification (ECMA-402 8<sup>th</sup> Edition), provides key language sensitive functionality as a complement to the ECMAScript 2022 Language Specification (ECMA-262 13<sup>th</sup> Edition or successor). Its functionality has been selected from that of well-established internationalization APIs such as those of the Internationalization Components for Unicode (ICU) library, of the .NET framework, or of the Java platform.
The ECMAScript 2022 Internationalization API Specification (ECMA-402 9<sup>th</sup> Edition), provides key language sensitive functionality as a complement to the ECMAScript 2022 Language Specification (ECMA-262 13<sup>th</sup> Edition or successor). Its functionality has been selected from that of well-established internationalization APIs such as those of the Internationalization Components for Unicode (ICU) library, of the .NET framework, or of the Java platform.
</p>
<p>
The 1<sup>st</sup> Edition API was developed by an ad-hoc group established by Ecma TC39 in September 2010 based on a proposal by Nebojša Ćirić and Jungshik Shin.
</p>
<p>
The 2<sup>nd</sup> Edition API was adopted by the General Assembly of June 2015, as a complement to the ECMAScript 6th Edition.
The 2<sup>nd</sup> Edition API was adopted by the General Assembly of June 2015, as a complement to the ECMAScript 6<sup>th</sup> Edition.
</p>
<p>
The 3<sup>rd</sup> Edition API was the first edition released under Ecma TC39's new yearly release cadence and open development process. A plain-text source document was built from the ECMA-402 source document to serve as the base for further development entirely on GitHub. Over the year of this standard's development, dozens of pull requests and issues were filed representing several of bug fixes, editorial fixes and other improvements. Additionally, numerous software tools were developed to aid in this effort including Ecmarkup, Ecmarkdown, and Grammarkdown.
Expand Down Expand Up @@ -40,6 +40,6 @@ <h1>Introduction</h1>
</p>
<p>
Leo Balter, Richard Gibson<br>
ECMA-402, 8<sup>th</sup> Edition Project Editors
ECMA-402, 8<sup>th</sup> and 9<sup>th</sup> Edition Project Editors
</p>
</emu-intro>