Skip to content

Commit 63d82a7

Browse files
Marcos Cáceresbeverloo
authored andcommitted
Editorial: use promises-guide for promises (#309)
1 parent 853d637 commit 63d82a7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

index.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
};
5757
</script>
5858
</head>
59-
<body data-cite="service-workers FILEAPI">
59+
<body data-cite="service-workers FILEAPI promises-guide">
6060
<section id="abstract">
6161
<p>
6262
The <cite>Push API</cite> enables sending of a <a>push message</a> to a <a>webapp</a> via a
@@ -127,7 +127,6 @@ <h2>
127127
Dependencies
128128
</h2>
129129
<p>
130-
<code><dfn data-cite="ECMASCRIPT#sec-promise-objects">Promise</dfn></code>,
131130
<code><dfn data-cite="ECMASCRIPT#sec-json.parse">JSON.parse</dfn></code> and
132131
<code><dfn data-cite="ECMASCRIPT#sec-json.stringify">JSON.stringify</dfn></code> are
133132
defined in [[ECMASCRIPT]].
@@ -555,7 +554,7 @@ <h2>
555554
following steps:
556555
</p>
557556
<ol>
558-
<li>Let <var>promise</var> be a new <a>Promise</a>.
557+
<li>Let <var>promise</var> be <a>a new promise</a>.
559558
</li>
560559
<li>Return <var>promise</var> and continue the following steps asynchronously.
561560
</li>
@@ -636,7 +635,7 @@ <h2>
636635
following steps:
637636
</p>
638637
<ol>
639-
<li>Let <var>promise</var> be a new <a>Promise</a>.
638+
<li>Let <var>promise</var> be <a>a new promise</a>.
640639
</li>
641640
<li>Return <var>promise</var> and continue the following steps asynchronously.
642641
</li>
@@ -656,7 +655,7 @@ <h2>
656655
following steps:
657656
</p>
658657
<ol>
659-
<li>Let <var>promise</var> be a new <a>Promise</a>.
658+
<li>Let <var>promise</var> be <a>a new promise</a>.
660659
</li>
661660
<li>Return <var>promise</var> and continue the following steps asynchronously.
662661
</li>
@@ -835,7 +834,7 @@ <h2>
835834
following steps:
836835
</p>
837836
<ol>
838-
<li>Let <var>promise</var> be a new <a>Promise</a>.
837+
<li>Let <var>promise</var> be <a>a new promise</a>.
839838
</li>
840839
<li>Return <var>promise</var> and continue the following steps asynchronously.
841840
</li>

0 commit comments

Comments
 (0)