Browse Source

AnimationClip: Fix toJSON syntax error

Ian Purvis 4 years ago
parent
commit
f9a8c5c7e7
1 changed files with 2 additions and 2 deletions
  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 );