From 3a2ddbb29b29cf660241776e5ef633d155b56bb3 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 18 Dec 2010 08:24:15 -0500 Subject: [PATCH] class.js 'extending' var is an argument and shouldn't be declared with var keyword --- lib/class.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/class.js b/lib/class.js index 21f7319..70fab6e 100644 --- a/lib/class.js +++ b/lib/class.js @@ -65,8 +65,6 @@ function Class() {}; */ var extend = ( function( extending ) { - var extending = false; - /** * Mimics class inheritance * @@ -175,7 +173,7 @@ var extend = ( function( extending ) }; } } -} )(); +} )( false ); /**