mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 18:00:11 +00:00
minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6a9daeb08b
commit
890e5f5873
@ -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()
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.3.1",
|
||||
"version": "3.3.2",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user