mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 18:00:11 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
cb5f51fa7f
commit
b102ea3c13
@ -64,6 +64,7 @@ abstract this...
|
||||
|
||||
```javascript
|
||||
var N = Actions({
|
||||
// Notice the brackets around the function...
|
||||
times: [function(n){
|
||||
this.value *= n
|
||||
}]
|
||||
@ -146,6 +147,10 @@ n
|
||||
- By design this tool-set promotes a _cooperative_ model and makes it
|
||||
hard to change/modify existing signatures / _contracts_ in _extending_
|
||||
code, hence the restrictions.
|
||||
- `mix(..)`, the mixin method family usually copy references to actions
|
||||
to the target object, this is done to go around the lack of multiple
|
||||
inheritance support in JavaScript and to enable clean action set reuse.
|
||||
|
||||
|
||||
|
||||
### The main entities:
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user