From fb4887aadce87635712a706164bf0aa411f3fc69 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Sun, 8 May 2016 12:24:15 -0400 Subject: [PATCH] Object.defineProperty is only missing in IE8. --- src/Three.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Three.js b/src/Three.js index 2ce52291a5..cdef947c66 100644 --- a/src/Three.js +++ b/src/Three.js @@ -38,7 +38,7 @@ if ( Math.sign === undefined ) { } -if ( Function.prototype.name === undefined && Object.defineProperty !== undefined ) { +if ( Function.prototype.name === undefined ) { // Missing in IE9-11. // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name -- GitLab