From 666d1df3fb1d3a2370fd56ba7a5c6a79160ed9b0 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 4 Apr 2011 21:58:21 -0400 Subject: [PATCH] Removed unused var from class_builder - 'properties' var no longer used after prior refactoring --- lib/class_builder.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/class_builder.js b/lib/class_builder.js index 9da84e0..0b98551 100644 --- a/lib/class_builder.js +++ b/lib/class_builder.js @@ -158,7 +158,6 @@ exports.build = function extend() prototype = new base(), cname = '', - properties = {}, prop_init = member_builder.initMembers(), members = member_builder.initMembers( prototype ), @@ -193,7 +192,6 @@ exports.build = function extend() base, prop_init, abstract_methods, - properties, members, getMethodInstance ); @@ -374,7 +372,7 @@ function createAbstractCtor( cname ) function buildMembers( - props, class_id, base, prop_init, abstract_methods, properties, members, + props, class_id, base, prop_init, abstract_methods, members, getMethodInstance ) { @@ -409,8 +407,6 @@ function buildMembers( property: function( name, value, keywords ) { - properties[ name ] = value; - // build a new property, passing in the other members to compare // against for preventing nonsensical overrides member_builder.buildProp(