Sfoglia il codice sorgente

AnimationLoader: Fix ctor definition.

Mugen87 6 anni fa
parent
commit
4f88654984
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/loaders/AnimationLoader.js

+ 2 - 0
src/loaders/AnimationLoader.js

@@ -14,6 +14,8 @@ function AnimationLoader( manager ) {
 
 AnimationLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
 
+	constructor: AnimationLoader,
+
 	load: function ( url, onLoad, onProgress, onError ) {
 
 		var scope = this;