Fix spelling
This commit is contained in:
parent
a9d65b10b7
commit
11d042d10a
|
@ -456,7 +456,7 @@ Asynchronous version of
|
||||||
provided for compatibility with <a href="#API_getPNG"><code>getPNG</code></a>,
|
provided for compatibility with <a href="#API_getPNG"><code>getPNG</code></a>,
|
||||||
which has no synchronous equivalent.
|
which has no synchronous equivalent.
|
||||||
</p>
|
</p>
|
||||||
<p>The callback recieves an object containing:</p>
|
<p>The callback receives an object containing:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>url</code>: The URL of the generated blob.</li>
|
<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>
|
<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>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> × <code>height * resolution</code>.</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> × <code>height * resolution</code>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>The callback recieves an object containing:</p>
|
<p>The callback receives an object containing:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>url</code>: The URL of the generated blob.</li>
|
<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>
|
<li><code>latest</code>: True if the URL given is still valid; subsequent calls to this method will invalidate previous URLs.</li>
|
||||||
|
|
Loading…
Reference in New Issue