inherits-ex
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -10,2 +10,3 @@ var newPrototype = require('./newPrototype'); | ||
ctor.prototype = newPrototype(superCtor, ctor); | ||
setPrototypeOf(ctor.prototype, superCtor.prototype); | ||
if (staticInherit !== false) { | ||
@@ -12,0 +13,0 @@ setPrototypeOf(ctor, superCtor);//additional static inheritance |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/snowyu/inherits-ex.js", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"author": { | ||
@@ -8,0 +8,0 @@ "name": "Riceball LEE", |
@@ -10,2 +10,3 @@ var newPrototype = require('./newPrototype'); | ||
ctor.prototype = newPrototype(superCtor, ctor); | ||
setPrototypeOf(ctor.prototype, superCtor.prototype); | ||
if (staticInherit !== false) { | ||
@@ -12,0 +13,0 @@ setPrototypeOf(ctor, superCtor);//additional static inheritance |
82434
1177