Browse Source

AnimationLoader: Fix ctor definition.

Mugen87 6 years ago
parent
commit
4f88654984
1 changed files with 2 additions and 0 deletions
  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;