mirror of
https://github.com/flynx/object.js.git
synced 2025-10-31 19:40:09 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
87414a8edb
commit
582d24b9d4
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user