Explorar o código

AnimationClip: Fix toJSON syntax error

Ian Purvis %!s(int64=5) %!d(string=hai) anos
pai
achega
f9a8c5c7e7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 );
 		return new this.constructor( this.name, this.duration, tracks, this.blendMode );
 
 
-	},
+	}
 
 
-	toJSON: function () {
+	toJSON() {
 
 
 		return AnimationClip.toJSON( this );
 		return AnimationClip.toJSON( this );
 
 

粤ICP备19079148号