mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40:08 +00:00
doc cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
61ab565afb
commit
09cb1ac785
@ -242,14 +242,14 @@ parentCall(<method>, <this>)
|
|||||||
|
|
||||||
Mixin objects into a prototype chain
|
Mixin objects into a prototype chain
|
||||||
```
|
```
|
||||||
mixin(<root>, <object>, ...)
|
mixin(<root>, <object>, ..)
|
||||||
-> <object>
|
-> <object>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Mixin contents of objects into one
|
Mixin contents of objects into one
|
||||||
```
|
```
|
||||||
mixinFlat(<root>, <object>, ...)
|
mixinFlat(<root>, <object>, ..)
|
||||||
-> <object>
|
-> <object>
|
||||||
```
|
```
|
||||||
This is like `Object.assign(..)` but copies property objects rather than
|
This is like `Object.assign(..)` but copies property objects rather than
|
||||||
@ -258,11 +258,11 @@ property values.
|
|||||||
|
|
||||||
Make a raw (un-initialized) instance
|
Make a raw (un-initialized) instance
|
||||||
```
|
```
|
||||||
makeRawInstance(<context>, <constructor>, ...)
|
makeRawInstance(<context>, <constructor>, ..)
|
||||||
-> <object>
|
-> <object>
|
||||||
```
|
```
|
||||||
|
|
||||||
_EXPERIMENTAL: a shorthand to this is defined as `Constructor.__rawinstance__(context, ..)`_
|
A shorthand to this is `Constructor.__rawinstance__(context, ..)`.
|
||||||
|
|
||||||
|
|
||||||
Define an object constructor
|
Define an object constructor
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user