Comparing version 0.4.0 to 0.4.1
@@ -19,3 +19,9 @@ var clone = function(from, to) { | ||
var protos = []; | ||
var empty; | ||
var inject = function(obj) { | ||
if (empty === undefined) { | ||
empty = !Object.keys(inject.proto).length; | ||
} | ||
if (empty) return; | ||
var i = hash.indexOf(obj.__proto__); | ||
@@ -22,0 +28,0 @@ |
{ | ||
"name":"protein", | ||
"version":"0.4.0", | ||
"version":"0.4.1", | ||
"repository": "git://github.com/mafintosh/protein", | ||
@@ -5,0 +5,0 @@ "description":"Protein is connect compatible middleware with support for prototype methods, getters, and setters", |
15432
368