diff --git a/README.md b/README.md index c0ad61f..f9ea144 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/package.json b/package.json index e59ad88..0d240d5 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-actions", - "version": "1.0.5", + "version": "1.0.0", "description": "", "main": "actions.js", "scripts": {