From 2166fa31acd1490e933f4b73fb1d4a590a7e3f6f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 18 Jan 2017 23:05:48 +0300 Subject: [PATCH] removed .length prop from action set... Signed-off-by: Alex A. Naanou --- actions.js | 17 +++++++++++------ package.json | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) 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": {