浏览代码

const -> let

Rawr 5 年之前
父节点
当前提交
e30dfc7a57
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/animation/AnimationMixer.js

+ 2 - 2
src/animation/AnimationMixer.js

@@ -521,8 +521,8 @@ AnimationMixer.prototype = Object.assign( Object.create( EventDispatcher.prototy
 
 
 		const clipUuid = clipObject !== null ? clipObject.uuid : clip;
 		const clipUuid = clipObject !== null ? clipObject.uuid : clip;
 
 
-		const actionsForClip = this._actionsByClip[ clipUuid ],
-			prototypeAction = null;
+		const actionsForClip = this._actionsByClip[ clipUuid ];
+		let	prototypeAction = null;
 
 
 		if ( blendMode === undefined ) {
 		if ( blendMode === undefined ) {