mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-29 18:30:10 +00:00
more fixing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
714d70ee9f
commit
f4bb70012b
19
actions.js
19
actions.js
@ -903,15 +903,16 @@ Action.prototype.post = function(context, data){
|
|||||||
.forEach(function(func){
|
.forEach(function(func){
|
||||||
func.call(context) })
|
func.call(context) })
|
||||||
// top calls...
|
// top calls...
|
||||||
if(context.__action_after_running
|
if(context.__action_after_running){
|
||||||
&& context.__action_after_running[0] == null){
|
if(context.__action_after_running[0] == null){
|
||||||
;(context.__action_after_running[1] || [])
|
;(context.__action_after_running[1] || [])
|
||||||
.forEach(function(func){
|
.forEach(function(func){
|
||||||
func.call(context) })
|
func.call(context) })
|
||||||
delete context.__action_after_running
|
delete context.__action_after_running
|
||||||
// back to prev level...
|
// back to prev level...
|
||||||
} else {
|
} else {
|
||||||
context.__action_after_running = context.__action_after_running[0]
|
context.__action_after_running = context.__action_after_running[0]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-actions",
|
"name": "ig-actions",
|
||||||
"version": "3.22.1",
|
"version": "3.22.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "actions.js",
|
"main": "actions.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user