Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-08-27 01:39:16 +03:00
parent cb5f51fa7f
commit b102ea3c13
2 changed files with 6 additions and 1 deletions

View File

@ -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:

View File

@ -1,6 +1,6 @@
{
"name": "ig-actions",
"version": "1.0.5",
"version": "1.0.0",
"description": "",
"main": "actions.js",
"scripts": {