some cleanup and notes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-09-01 23:58:48 +03:00
parent bd4b16387b
commit f96888c7e7
2 changed files with 6 additions and 5 deletions

View File

@ -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)
}
}),

View File

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