mirror of
https://github.com/flynx/object.js.git
synced 2025-10-30 19:10:11 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
cc9c9c55e2
commit
1f33e01c6a
@ -533,7 +533,7 @@ callback(<match>, <object>, <parent>)
|
|||||||
|
|
||||||
### `hasMixin(..)`
|
### `hasMixin(..)`
|
||||||
|
|
||||||
Check of object has mixin
|
Check if _base_ object has _mixin_
|
||||||
```
|
```
|
||||||
hasMixin(<base>, <mixin>)
|
hasMixin(<base>, <mixin>)
|
||||||
-> <bool>
|
-> <bool>
|
||||||
@ -542,7 +542,7 @@ hasMixin(<base>, <mixin>)
|
|||||||
|
|
||||||
### `mixout(..)`
|
### `mixout(..)`
|
||||||
|
|
||||||
Remove the _first_ match for each input object out of a prototype chain
|
Remove the _first_ match matching input _mixin_ from _base_
|
||||||
of _base_
|
of _base_
|
||||||
```
|
```
|
||||||
mixout(<base>, <object>, ..)
|
mixout(<base>, <object>, ..)
|
||||||
@ -550,8 +550,7 @@ mixout(<base>, 'first', <object>, ..)
|
|||||||
-> <base>
|
-> <base>
|
||||||
```
|
```
|
||||||
|
|
||||||
Remove _all_ occurrences of each input object out of a prototype chain
|
Remove _all_ occurrences of each matching input _mixin_ from _base_
|
||||||
of _base_
|
|
||||||
```
|
```
|
||||||
mixout(<base>, 'all', <object>, ..)
|
mixout(<base>, 'all', <object>, ..)
|
||||||
-> <base>
|
-> <base>
|
||||||
@ -589,6 +588,8 @@ makeRawInstance(<context>, <constructor>, ..)
|
|||||||
- use `{}`.
|
- use `{}`.
|
||||||
- Link the object into the prototype chain
|
- Link the object into the prototype chain
|
||||||
|
|
||||||
|
_Un-initialized_ means this will not call `.__init__(..)`
|
||||||
|
|
||||||
|
|
||||||
### `Constructor(..)` / `C(..)`
|
### `Constructor(..)` / `C(..)`
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user