From ee56c93f163c82c9089008222afd0f93888d6714 Mon Sep 17 00:00:00 2001 From: Andrew Dupont Date: Sat, 28 Feb 2009 04:36:44 -0600 Subject: [PATCH] Remove old lines from class.js. --- src/lang/class.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lang/class.js b/src/lang/class.js index 2c335c9..94181dc 100644 --- a/src/lang/class.js +++ b/src/lang/class.js @@ -81,9 +81,6 @@ var Class = (function() { var ancestor = this.superclass && this.superclass.prototype; var properties = Object.keys(source); - if (!Object.keys({ toString: true }).length) - properties.push("toString", "valueOf"); - // IE6 doesn't enumerate toString and valueOf properties, // Force copy if they're not coming from Object.prototype. if (!Object.keys({ toString: true }).length) {