Browse Source

forgot the 'function'

jackcaron 10 năm trước cách đây
mục cha
commit
3b894ac759
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/animation/KeyframeTrack.js

+ 1 - 1
src/animation/KeyframeTrack.js

@@ -238,7 +238,7 @@ THREE.KeyframeTrack.prototype = {
 
 };
 
-THREE.KeyframeTrack.parse = ( json ) {
+THREE.KeyframeTrack.parse = function( json ) {
 
 	if( json.type === undefined ) throw new Error( "track type undefined, can not parse" );