Permalink
Browse files

allow extra properties when enhancing

  • Loading branch information...
1 parent 27c8689 commit 8a4ac0ad14abfe499338fb2fb439ec4420af3bf9 @polotek committed Aug 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 protochains.js
View
@@ -56,8 +56,8 @@ var create = function(parent, ctor) {
return Object.create(obj);
}
-var enhance = function(o) {
- return extend(o, this.prototype)
+var enhance = function(o, plus) {
+ return extend(o, this.prototype, plus);
}
exports.mixin = mixin;

0 comments on commit 8a4ac0a

Please sign in to comment.