mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 18:00:11 +00:00
removed .length prop from action set...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
48506495e7
commit
2166fa31ac
17
actions.js
17
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){
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "2.0.0",
|
||||
"version": "3.0.0",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user