Sfoglia il codice sorgente

forgot the 'function'

jackcaron 10 anni fa
parent
commit
3b894ac759
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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" );