mirror of
https://github.com/flynx/object.js.git
synced 2025-10-30 11:00:08 +00:00
docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0eb115aec8
commit
bbe9f37ae5
@ -360,9 +360,9 @@ handling.
|
|||||||
### Extending the constructor
|
### Extending the constructor
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var C = object.Constructor('C',
|
var C = object.Constructor('C', {
|
||||||
// this will get mixed into the constructor C...
|
// this will get mixed into the constructor C...
|
||||||
{
|
|
||||||
constructor_attr: 123,
|
constructor_attr: 123,
|
||||||
|
|
||||||
constructorMethod: function(){
|
constructorMethod: function(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user