Browse Source

Object.defineProperty is only missing in IE8.

Mr.doob 9 years ago
parent
commit
fb4887aadc
1 changed files with 1 additions and 1 deletions
  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.
 	// Missing in IE9-11.
 	// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name
 	// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name