Просмотр исходного кода

AnimationClip: Fix toJSON syntax error

Ian Purvis 4 лет назад
Родитель
Сommit
f9a8c5c7e7
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/animation/AnimationClip.js

+ 2 - 2
src/animation/AnimationClip.js

@@ -383,9 +383,9 @@ class AnimationClip {
 
 		return new this.constructor( this.name, this.duration, tracks, this.blendMode );
 
-	},
+	}
 
-	toJSON: function () {
+	toJSON() {
 
 		return AnimationClip.toJSON( this );