Skip to content

Commit

Permalink
Editorial: Linkify one !, simplify splitting reference text
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Jan 10, 2017
1 parent 7457cfe commit bf39fe8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
12 changes: 6 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/
text: worker; url: worker
urlPrefix: infrastructure.html
type: dfn
text: strictly splitting the string; url: strictly-split-a-string
text: strictly splitting; url: strictly-split-a-string
text: structured clone; url: structuredclone
text: structured clone algorithm; url: safe-passing-of-structured-data
spec: ecma262; urlPrefix: https://tc39.github.io/ecma262/
Expand Down Expand Up @@ -6290,7 +6290,7 @@ ECMAScript value or failure, or the steps may throw an exception.
3. If |key| is failure, abort the overall algorithm and return
failure.

4. Let |p| be ! [=ToString=](|i|).
4. Let |p| be [=!=] [=ToString=](|i|).

5. Let |status| be [=CreateDataProperty=](|result|, |p|, |key|).

Expand All @@ -6308,8 +6308,8 @@ ECMAScript value or failure, or the steps may throw an exception.
2. If |keyPath| is the empty string, return |value| and skip the
remaining steps.

3. Let |identifiers| be the result of [=strictly splitting the
string=] |keyPath| on U+002E FULL STOP characters (.).
3. Let |identifiers| be the result of [=strictly splitting=]
|keyPath| on U+002E FULL STOP characters (.).

4. For each |identifier| in |identifiers|, jump to the appropriate step below:

Expand Down Expand Up @@ -6374,8 +6374,8 @@ as follows. The algorithm takes a |value|, a |key| and a |keyPath|.

<div class=algorithm>

1. Let |identifiers| be the result of [=strictly splitting the
string=] |keyPath| on U+002E FULL STOP characters (.).
1. Let |identifiers| be the result of [=strictly splitting=]
|keyPath| on U+002E FULL STOP characters (.).

2. Assert: |identifiers| is not empty.

Expand Down
10 changes: 4 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5963,7 +5963,7 @@ <h3 class="heading settled" data-level="7.1" id="extract-key-from-value"><span c
<p>If <var>key</var> is failure, abort the overall algorithm and return
failure.</p>
<li data-md="">
<p>Let <var>p</var> be ! <a data-link-type="dfn" href="https://tc39.github.io/ecma262/#sec-tostring">ToString</a>(<var>i</var>).</p>
<p>Let <var>p</var> be <a data-link-type="dfn" href="https://tc39.github.io/ecma262/#sec-algorithm-conventions">!</a> <a data-link-type="dfn" href="https://tc39.github.io/ecma262/#sec-tostring">ToString</a>(<var>i</var>).</p>
<li data-md="">
<p>Let <var>status</var> be <a data-link-type="dfn" href="https://tc39.github.io/ecma262/#sec-createdataproperty">CreateDataProperty</a>(<var>result</var>, <var>p</var>, <var>key</var>).</p>
<li data-md="">
Expand All @@ -5980,8 +5980,7 @@ <h3 class="heading settled" data-level="7.1" id="extract-key-from-value"><span c
<p>If <var>keyPath</var> is the empty string, return <var>value</var> and skip the
remaining steps.</p>
<li data-md="">
<p>Let <var>identifiers</var> be the result of <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#strictly-split-a-string">strictly splitting the
string</a> <var>keyPath</var> on U+002E FULL STOP characters (.).</p>
<p>Let <var>identifiers</var> be the result of <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#strictly-split-a-string">strictly splitting</a> <var>keyPath</var> on U+002E FULL STOP characters (.).</p>
<li data-md="">
<p>For each <var>identifier</var> in <var>identifiers</var>, jump to the appropriate step below:</p>
<dl class="switch">
Expand Down Expand Up @@ -6030,8 +6029,7 @@ <h3 class="heading settled" data-level="7.2" id="inject-key-into-value"><span cl
<div class="algorithm">
<ol>
<li data-md="">
<p>Let <var>identifiers</var> be the result of <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#strictly-split-a-string">strictly splitting the
string</a> <var>keyPath</var> on U+002E FULL STOP characters (.).</p>
<p>Let <var>identifiers</var> be the result of <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#strictly-split-a-string">strictly splitting</a> <var>keyPath</var> on U+002E FULL STOP characters (.).</p>
<li data-md="">
<p class="assertion">Assert: <var>identifiers</var> is not empty.</p>
<li data-md="">
Expand Down Expand Up @@ -7093,7 +7091,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li><a href="https://html.spec.whatwg.org/multipage/webappapis.html#event-loop">event loop</a>
<li><a href="https://html.spec.whatwg.org/multipage/browsers.html#concept-origin">origin</a>
<li><a href="https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task">queue a task</a>
<li><a href="https://html.spec.whatwg.org/multipage/infrastructure.html#strictly-split-a-string">strictly splitting the string</a>
<li><a href="https://html.spec.whatwg.org/multipage/infrastructure.html#strictly-split-a-string">strictly splitting</a>
<li><a href="https://html.spec.whatwg.org/multipage/infrastructure.html#structuredclone">structured clone</a>
<li><a href="https://html.spec.whatwg.org/multipage/infrastructure.html#safe-passing-of-structured-data">structured clone algorithm</a>
<li><a href="https://html.spec.whatwg.org/multipage/webappapis.html#task-queue">task queues</a>
Expand Down

0 comments on commit bf39fe8

Please sign in to comment.