working on docs..

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-08-24 04:10:56 +03:00
parent 7522576753
commit c667a92236

View File

@ -117,7 +117,7 @@ n
The return value will get passed through all the actions in a chain The return value will get passed through all the actions in a chain
before returning to the action caller. before returning to the action caller.
- **Return `this` by default** - **Return `this` by default**
- **Organise reuse actions** - **Organise and reuse actions**
Actions organized into action sets can be reused (_mixed-in_) in multiple Actions organized into action sets can be reused (_mixed-in_) in multiple
inheritance chains without any extra work. inheritance chains without any extra work.
- **Unified way to document actions** - **Unified way to document actions**
@ -373,7 +373,7 @@ _action_ is build-in.
A trivial example: A trivial example:
``` ```javascript
actionSet.someAction.chainApply(actionsSet, actionSet.someAction.chainApply(actionsSet,
function(){ function(){
// this gets run between someAction's pre and post // this gets run between someAction's pre and post
@ -387,7 +387,7 @@ _action_ is build-in.
implementations (inner) within a single action set can be used as implementations (inner) within a single action set can be used as
entry points. entry points.
``` ```javascript
// Protocol root action (outer) definition... // Protocol root action (outer) definition...
protocolAction: [function(){}], protocolAction: [function(){}],