Skip to content

Commit

Permalink
Remove updatedUI from example
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Sep 4, 2017
1 parent 94c07ab commit 4ebbb7d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2410,9 +2410,7 @@ <h2>
<p>
To prevent the user interface from blocking (and to reflect
changes made by the end-user through the UI), developers need to
immediately call <a>updateWith()</a>. If they don't,
<a>[[\updatedUI]]</a> becomes true and <a>updateWith()</a> will
throw.
immediately call <a>updateWith()</a>.
</p>
<pre class="example" title="how to use `updateWith()` correctly.">
// ❌ Bad - this won't work!
Expand All @@ -2432,8 +2430,8 @@ <h2>
};
</pre>
<p>
Additionally, <a>[[\updatedUI]]</a> and <a>[[\waitForUpdate]]</a>
together prevent reuse of <a>PaymentRequestUpdateEvent</a>.
Additionally, <a>[[\waitForUpdate]]</a> prevents reuse of
<a>PaymentRequestUpdateEvent</a>.
</p>
<pre class="example" title="can only call `updateWith()` once">
// ❌ Bad - calling updateWith() doesn't work!
Expand Down

0 comments on commit 4ebbb7d

Please sign in to comment.