mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-29 02:10:09 +00:00
several fixes and tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a6b66358a9
commit
5a2e6edb30
@ -912,7 +912,7 @@ module.MetaActions = {
|
|||||||
//
|
//
|
||||||
// XXX should this prevent overriding stuff???
|
// XXX should this prevent overriding stuff???
|
||||||
// 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)
|
||||||
@ -1687,8 +1687,7 @@ module.MetaActions = {
|
|||||||
//
|
//
|
||||||
// XXX this will not work on non-actions...
|
// XXX this will not work on non-actions...
|
||||||
mixinTo: function(to, options){
|
mixinTo: function(to, options){
|
||||||
return this.mixin.call(to, this, options)
|
return this.mixin.call(to, this, options) },
|
||||||
},
|
|
||||||
|
|
||||||
// Remove mixed in actions from this...
|
// Remove mixed in actions from this...
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user