minor fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-08-03 21:44:16 +03:00
parent 6a9daeb08b
commit 890e5f5873
2 changed files with 8 additions and 3 deletions

View File

@ -627,6 +627,8 @@ Action.prototype.chainCall = function(context, inner){
//---------------------------------------------------------------------
// XXX alias parsing is dependant on the action set, move this functionality
// to the ActionSet.alias(..) method/action...
// XXX handle alias args and pass them to the target...
// XXX who's parsing and what syntax???
// - args syntax???
@ -641,11 +643,14 @@ function Alias(alias, target){
return new Alias(alias, target)
}
var meth = Action(alias, doc, null,
// XXX would be good to pre-parse the target...
var meth = Action(alias,
// XXX pre-parse the doc if possible...
null, null,
{ alias: target },
function(){
// parse the target...
var action = meth._parsed = meth._parsed || this.parseStringAction(target)
var action = this.parseStringAction(target)
var args = action.arguments.slice()

View File

@ -1,6 +1,6 @@
{
"name": "ig-actions",
"version": "3.3.1",
"version": "3.3.2",
"description": "",
"main": "actions.js",
"scripts": {