several fixes and tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-12-09 01:38:20 +03:00
parent a6b66358a9
commit 5a2e6edb30

View File

@ -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...
// //