From 6a9daeb08b79225417f7f3de822c1f8557b8597a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 3 Aug 2017 21:39:38 +0300 Subject: [PATCH] minor fixes... Signed-off-by: Alex A. Naanou --- actions.js | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/actions.js b/actions.js index c4e3ec2..599bd44 100755 --- a/actions.js +++ b/actions.js @@ -641,12 +641,12 @@ function Alias(alias, target){ return new Alias(alias, target) } - // parse the target... - var action = this.parseStringAction(target) - var meth = Action(alias, doc, null, { alias: target }, function(){ + // parse the target... + var action = meth._parsed = meth._parsed || this.parseStringAction(target) + var args = action.arguments.slice() // XXX merge args... diff --git a/package.json b/package.json index 6b85d5e..f604043 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-actions", - "version": "3.3.0", + "version": "3.3.1", "description": "", "main": "actions.js", "scripts": {