Skip to content

Commit

Permalink
last extension wins
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Apr 24, 2012
1 parent 3246cef commit ca882e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions index.js
Expand Up @@ -7,8 +7,6 @@ var extend = function(to, from) {
if (!from) return to;

Object.keys(from).forEach(function(key) {
if (key in to) return;

var getter = from.__lookupGetter__(key);
var setter = from.__lookupSetter__(key);

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name":"protein",
"version":"0.3.1",
"version":"0.3.2",
"repository": "git://github.com/mafintosh/protein",
"description":"Protein is connect compatible middleware with support for prototype methods, getters, and setters",
"keywords": ["web", "middleware", "connect", "prototype", "prototypical", "getters", "setters"],
Expand Down

0 comments on commit ca882e2

Please sign in to comment.