mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 09:50:10 +00:00
minor bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
791ee3e8c4
commit
8fb878bcc1
@ -1045,10 +1045,11 @@ module.MetaActions = {
|
||||
// XXX move to a better spot...
|
||||
alias: Action('alias', function(alias, target){
|
||||
// remove alias...
|
||||
if((arguments.length == 2
|
||||
&& target === false || target === null)
|
||||
&& this[alias] instanceof Alias){
|
||||
delete this[alias]
|
||||
if(arguments.length == 2
|
||||
&& (target === false || target === null)){
|
||||
// delete only aliases...
|
||||
this[alias] instanceof Alias
|
||||
&& (delete this[alias])
|
||||
|
||||
// set alias...
|
||||
} else {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.19.2",
|
||||
"version": "3.19.3",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user