mirror of
https://github.com/flynx/object.js.git
synced 2025-10-30 19:10:11 +00:00
updated docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6759028262
commit
cbb995c4d0
30
README.md
30
README.md
@ -470,6 +470,36 @@ callback(<source>)
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### `values(..)`
|
||||||
|
|
||||||
|
Get values for attribute in prototype chain
|
||||||
|
```
|
||||||
|
values(<object>, <name>)
|
||||||
|
values(<object>, <name>, <callback>)
|
||||||
|
-> <list>
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
callback(<value>, <source>)
|
||||||
|
-> 'stop' | false
|
||||||
|
-> undefined
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Get property descriptors for attribute in prototype chain
|
||||||
|
```
|
||||||
|
values(<object>, <name>, true)
|
||||||
|
values(<object>, <name>, <callback>, true)
|
||||||
|
-> <list>
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
callback(<descriptor>, <source>)
|
||||||
|
-> 'stop' | false
|
||||||
|
-> undefined
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### `parent(..)`
|
### `parent(..)`
|
||||||
|
|
||||||
Get parent attribute value or method
|
Get parent attribute value or method
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-object",
|
"name": "ig-object",
|
||||||
"version": "4.0.3",
|
"version": "4.0.4",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "object.js",
|
"main": "object.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user