Explorar o código

Object.defineProperty is only missing in IE8.

Mr.doob %!s(int64=9) %!d(string=hai) anos
pai
achega
fb4887aadc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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