Explorar o código

Merge pull request #10626 from FrozenRiverSnow/dev

Update PropertyBinding.js
Mr.doob %!s(int64=8) %!d(string=hai) anos
pai
achega
7966036dfe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/animation/PropertyBinding.js

+ 1 - 1
src/animation/PropertyBinding.js

@@ -237,7 +237,7 @@ PropertyBinding.prototype = {
 
 			this.resolvedProperty = nodeProperty;
 
-		} else if ( nodeProperty.length !== undefined ) {
+		} else if ( Array.isArray( nodeProperty ) ) {
 
 			bindingType = this.BindingType.EntireArray;