2
0
Эх сурвалжийг харах

Object.defineProperty is only missing in IE8.

Mr.doob 9 жил өмнө
parent
commit
fb4887aadc
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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