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

Fix minor typos #197

Merged
merged 2 commits into from
Nov 16, 2017
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
2 changes: 1 addition & 1 deletion spec/datetimeformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ <h1>PartitionDateTimePattern ( _dateTimeFormat_, _x_ )</h1>
1. Let _literal_ be the substring of _pattern_ from position _beginIndex_, inclusive, to position _endIndex_, inclusive.
1. Add new part record { [[Type]]: *"literal"*, [[Value]]: _literal_ } as a new element of the list _result_.
1. Set _nextIndex_ to _endIndex_ + 1.
1. Set _beginIndex_ to Call(%StringProto_indexOf%, _pattern_, &laquo; "}", _nextIndex_ &raquo;).
1. Set _beginIndex_ to Call(%StringProto_indexOf%, _pattern_, &laquo; "{", _nextIndex_ &raquo;).
1. If _nextIndex_ is less than _length_, then:
1. Let _literal_ be the substring of _pattern_ from position _nextIndex_, exclusive, to position _length_, exclusive.
1. Add new part record { [[Type]]: *"literal"*, [[Value]]: _literal_ } as a new element of the list _result_.
Expand Down
2 changes: 1 addition & 1 deletion spec/negotiation.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h1>LookupMatcher ( _availableLocales_, _requestedLocales_ )</h1>

<emu-alg>
1. Let _result_ be a new Record.
1. Repeat for each element _locale_ of _availableLocale_ in List order,
1. Repeat for each element _locale_ of _requestedLocales_ in List order,
1. Let _noExtensionsLocale_ be the String value that is _locale_ with all Unicode locale extension sequences removed.
1. Let _availableLocale_ be BestAvailableLocale(_availableLocales_, _noExtensionsLocale_).
1. If _availableLocale_ is not *undefined*, then
Expand Down