Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allow extra properties when enhancing

  • Loading branch information...
commit 8a4ac0ad14abfe499338fb2fb439ec4420af3bf9 1 parent 27c8689
@polotek authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 protochains.js
View
4 protochains.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.