Fixing Y.Map's documentation of forEach
fixes #171 As always, it's an honor to submit a PR! 🐒 There was also a missing dot in the Y.XmlFragment title.
This commit is contained in:
parent
ece4841b5c
commit
2150fa58f2
@ -235,7 +235,8 @@ or any of its children.
|
|||||||
Copies the <code>[key,value]</code> pairs of this YMap to a new Object.It
|
Copies the <code>[key,value]</code> pairs of this YMap to a new Object.It
|
||||||
transforms all child types to JSON using their <code>toJSON</code> method.
|
transforms all child types to JSON using their <code>toJSON</code> method.
|
||||||
</dd>
|
</dd>
|
||||||
<b><code>forEach(function(key:string,value:object|boolean|Array|string|number|Uint8Array|Y.Type))</code></b>
|
<b><code>forEach(function(value:object|boolean|Array|string|number|Uint8Array|Y.Type,
|
||||||
|
key:string, map: Y.Map))</code></b>
|
||||||
<dd>
|
<dd>
|
||||||
Execute the provided function once for every key-value pair.
|
Execute the provided function once for every key-value pair.
|
||||||
</dd>
|
</dd>
|
||||||
@ -343,7 +344,7 @@ or any of its children.
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><b>YXmlFragment</b></summary>
|
<summary><b>Y.XmlFragment</b></summary>
|
||||||
<br>
|
<br>
|
||||||
<p>
|
<p>
|
||||||
A container that holds an Array of Y.XmlElements.
|
A container that holds an Array of Y.XmlElements.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user