mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 09:50:10 +00:00
changed .aliases to show all aliases and added .localAliases...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
56cea2356b
commit
635a107f7e
@ -829,13 +829,16 @@ module.MetaActions = {
|
||||
|
||||
// List aliases...
|
||||
//
|
||||
// NOTE: this will only show the aliases local to this.
|
||||
get aliases(){
|
||||
var that = this
|
||||
return this.actions
|
||||
.filter(function(n){
|
||||
return that.hasOwnProperty(n)
|
||||
&& that[n] instanceof Alias }) },
|
||||
return that[n] instanceof Alias }) },
|
||||
get localAliases(){
|
||||
var that = this
|
||||
return this.aliases
|
||||
.filter(function(n){
|
||||
return that.hasOwnProperty(n) })},
|
||||
|
||||
// XXX move this to the right spot...
|
||||
parseStringAction: parseStringAction,
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.24.9",
|
||||
"version": "3.24.10",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user