Fix spelling

This commit is contained in:
David Evans 2017-11-24 23:32:52 +00:00
parent a9d65b10b7
commit 11d042d10a
1 changed files with 2 additions and 2 deletions

View File

@ -456,7 +456,7 @@ Asynchronous version of
provided for compatibility with <a href="#API_getPNG"><code>getPNG</code></a>,
which has no synchronous equivalent.
</p>
<p>The callback recieves an object containing:</p>
<p>The callback receives an object containing:</p>
<ul>
<li><code>url</code>: The URL of the generated blob.</li>
<li><code>latest</code>: True if the URL given is still valid; subsequent calls to this method will invalidate previous URLs.</li>
@ -476,7 +476,7 @@ Generates a PNG image and returns a blob URL.
<li><code>resolution</code>: Desired pixels-per-unit.</li>
<li><code>size</code>: Optional width and/or height to render the image at (defaults to the unit size of the diagram). The final output will have size <code>width * resolution</code> &times; <code>height * resolution</code>.</li>
</ul>
<p>The callback recieves an object containing:</p>
<p>The callback receives an object containing:</p>
<ul>
<li><code>url</code>: The URL of the generated blob.</li>
<li><code>latest</code>: True if the URL given is still valid; subsequent calls to this method will invalidate previous URLs.</li>