diff --git a/actions.js b/actions.js index fb8b4a5..010c9d5 100755 --- a/actions.js +++ b/actions.js @@ -400,6 +400,17 @@ Action.prototype.__proto__ = Function // // .post(context, data) // -> result +// +// +// Call data format: +// { +// arguments: args, +// +// wrapper: call_wrapper, +// handlers: handlers, +// +// result: res, +// } // // // NOTE: All the defaults should be handled by the pre stage, post will @@ -595,12 +606,6 @@ module.MetaActions = { return res }, - // Number of defined actions... - // - get length(){ - return this.actions.length - }, - // Get action attribute... // getActionAttr: function(action, attr){ diff --git a/package.json b/package.json index 12aafd7..b0af75d 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-actions", - "version": "2.0.0", + "version": "3.0.0", "description": "", "main": "actions.js", "scripts": {