Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-05-06 19:34:10 +03:00
parent 87414a8edb
commit 582d24b9d4

View File

@ -384,9 +384,7 @@ var C = object.Constructor('C',
And the same thing while extending... And the same thing while extending...
```javascript ```javascript
var D = object.Constructor('D', C, var D = object.Constructor('D', C, {
// this will get mixed into C(..)...
{
// ... // ...
}, { }, {
// ... // ...
@ -536,7 +534,7 @@ This is the opposite of `mixin(..)`
### `mixinFlat(..)` ### `mixinFlat(..)`
Mixin contents of objects into one Mixin contents of objects into one _base_ object
``` ```
mixinFlat(<base>, <object>, ..) mixinFlat(<base>, <object>, ..)
-> <base> -> <base>
@ -564,9 +562,6 @@ makeRawInstance(<context>, <constructor>, ..)
- Link the object into the prototype chain - Link the object into the prototype chain
A shorthand to this is `Constructor.__rawinstance__(context, ..)`.
### `Constructor(..)` / `C(..)` ### `Constructor(..)` / `C(..)`
Define an object constructor Define an object constructor