mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 10:30:08 +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...
|
||||
```javascript
|
||||
var D = object.Constructor('D', C,
|
||||
// this will get mixed into C(..)...
|
||||
{
|
||||
var D = object.Constructor('D', C, {
|
||||
// ...
|
||||
}, {
|
||||
// ...
|
||||
@ -536,7 +534,7 @@ This is the opposite of `mixin(..)`
|
||||
|
||||
### `mixinFlat(..)`
|
||||
|
||||
Mixin contents of objects into one
|
||||
Mixin contents of objects into one _base_ object
|
||||
```
|
||||
mixinFlat(<base>, <object>, ..)
|
||||
-> <base>
|
||||
@ -564,9 +562,6 @@ makeRawInstance(<context>, <constructor>, ..)
|
||||
- Link the object into the prototype chain
|
||||
|
||||
|
||||
A shorthand to this is `Constructor.__rawinstance__(context, ..)`.
|
||||
|
||||
|
||||
### `Constructor(..)` / `C(..)`
|
||||
|
||||
Define an object constructor
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user