Remove old lines from class.js.
This commit is contained in:
parent
de77550574
commit
ee56c93f16
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue