Переглянути джерело

AnimationClip: Fix toJSON syntax error

Ian Purvis 5 роки тому
батько
коміт
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 );
 

粤ICP备19079148号