mirror of
https://github.com/flynx/object.js.git
synced 2025-10-30 02:50:10 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f308cbc756
commit
b655b33d71
@ -236,7 +236,6 @@ function(proto, name, that, ...args){
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// Mixin utils...
|
||||
// XXX should we add mixout(..) and friends ???
|
||||
|
||||
// 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...
|
||||
//
|
||||
// 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 =
|
||||
module.mixin =
|
||||
function(root, ...objects){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user