Skip to content

Commit

Permalink
Reference correct promise at the "apply an orientation lock" operation (
Browse files Browse the repository at this point in the history
#110)

Fixes #94. In the "apply an orientation lock" operation reference
the doc's pending promise instead of the 'pending-promise' variable.
  • Loading branch information
Mikhail Pozdnyakov authored and Marcos Cáceres committed Nov 5, 2017
1 parent 3dd5f1e commit 40b45e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -488,9 +488,9 @@ <h2>
</dd>
</dl>
</li>
<li>Set <var>pending-promise</var> to be a newly-create a promise.
<li>Set <var>doc</var>'s <a>pending promise</a> to a newly-created promise.
</li>
<li>Return <var>pending-promise</var> and continue asynchronously.
<li>Return <var>doc</var>'s <a>pending promise</a> and continue asynchronously.
</li>
<li>
<a>Lock the orientation</a> of the <a>document</a> to
Expand Down

0 comments on commit 40b45e7

Please sign in to comment.