oop.mixin returns object
This commit is contained in:
parent
0aee413754
commit
ecf258f2a0
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ exports.mixin = function(obj, mixin) {
|
|||
for (var key in mixin) {
|
||||
obj[key] = mixin[key];
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
|
||||
exports.implement = function(proto, mixin) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue