From 9197a62585a577d2fa1c9e5085deb6c8dde587ae Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 12 Sep 2017 05:29:06 +0300 Subject: [PATCH] docs... Signed-off-by: Alex A. Naanou --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index fb2169a..90f8910 100644 --- a/README.md +++ b/README.md @@ -281,6 +281,17 @@ action_set.on('action_name.pre', function(){ **Alias** +```javascript + // ... + + fullAlias: ['Alias to .full(..) action...', + 'This alias will call the .full(..) action and pass it a couple of arguments', + // the alias code... + 'full: "argument" 1'], + + // ... +``` + - an action created by `Alias(..)`, - identical to an action with one key difference: instead of a function `Alias(..)` expects a string/code, @@ -290,6 +301,8 @@ action_set.on('action_name.pre', function(){ actions are mainly load-time entities. +XXX add doc about the code format... + ### The action system main protocols: