mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 09:50:10 +00:00
some cleanup and notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bd4b16387b
commit
f96888c7e7
@ -958,11 +958,12 @@ function Alias(alias, doc, ldoc, attrs, target){
|
||||
|
||||
attrs.alias = target
|
||||
|
||||
// NOTE: we are not parsing this directly here because the context
|
||||
// may define a different .parseStringAction(..)
|
||||
var parsed = typeof(target) == typeof('str') ? null : target
|
||||
|
||||
doc = (!doc && parsed) ? parsed.doc : doc
|
||||
|
||||
// XXX use parseStringAction.call(..)
|
||||
var func = function(){
|
||||
// empty alias...
|
||||
if(target == ''){
|
||||
@ -1089,9 +1090,9 @@ module.MetaActions = {
|
||||
|
||||
// set alias...
|
||||
} else {
|
||||
var parsed = typeof(target) == typeof('str') ?
|
||||
this.parseStringAction(target)
|
||||
: target
|
||||
//var parsed = typeof(target) == typeof('str') ?
|
||||
// this.parseStringAction(target)
|
||||
// : target
|
||||
this[alias] = Alias.apply(null, arguments)
|
||||
}
|
||||
}),
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.20.1",
|
||||
"version": "3.20.2",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user