mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-29 18:30: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...
|
// XXX move to a better spot...
|
||||||
alias: Action('alias', function(alias, target){
|
alias: Action('alias', function(alias, target){
|
||||||
// remove alias...
|
// remove alias...
|
||||||
if((arguments.length == 2
|
if(arguments.length == 2
|
||||||
&& target === false || target === null)
|
&& (target === false || target === null)){
|
||||||
&& this[alias] instanceof Alias){
|
// delete only aliases...
|
||||||
delete this[alias]
|
this[alias] instanceof Alias
|
||||||
|
&& (delete this[alias])
|
||||||
|
|
||||||
// set alias...
|
// set alias...
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-actions",
|
"name": "ig-actions",
|
||||||
"version": "3.19.2",
|
"version": "3.19.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "actions.js",
|
"main": "actions.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user