cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-05-06 05:31:28 +03:00
parent f308cbc756
commit b655b33d71

View File

@ -236,7 +236,6 @@ function(proto, name, that, ...args){
//--------------------------------------------------------------------- //---------------------------------------------------------------------
// Mixin utils... // Mixin utils...
// XXX should we add mixout(..) and friends ???
// Mix a set of methods/props/attrs into an object... // Mix a set of methods/props/attrs into an object...
// //
@ -272,12 +271,6 @@ function(root, ...objects){
// //
// //
// NOTE: this will only mix in non-empty objects... // NOTE: this will only mix in non-empty objects...
//
// XXX BUG: this is wrong...
// var m = { m: function(){ console.log('!!!') } }
// var a = object.Constructor('A', Array, {})()
// var aa = object.mixin(a, m)
// aa === a // -> false
var mixin = var mixin =
module.mixin = module.mixin =
function(root, ...objects){ function(root, ...objects){