Pārlūkot izejas kodu

Object.defineProperty is only missing in IE8.

Mr.doob 9 gadi atpakaļ
vecāks
revīzija
fb4887aadc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/Three.js

+ 1 - 1
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