From 1306761490f3db2a1dc41dab75a91d223873409f Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 2 Dec 2011 20:49:42 -0800 Subject: [PATCH] fix style --- lib/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 5b78a34..6c6cb9b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -41,13 +41,15 @@ } }) } - } else if ([].__proto__) { + } + else if ([].__proto__) { inherits = function(ctor, superCtor) { ctor.super_ = superCtor ctor.prototype.__proto__ = superCtor.prototype ctor.prototype.constructor = ctor } - } else { // ie8 + } + else { // ie8 var __hasProp = Object.prototype.hasOwnProperty inherits = function(child, parent) { for (var key in parent) {