Remove old lines from class.js.

This commit is contained in:
Andrew Dupont 2009-02-28 04:36:44 -06:00
parent de77550574
commit ee56c93f16
1 changed files with 0 additions and 3 deletions

View File

@ -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) {