@galacean/engine-spine 1.0.0-test.0 → 1.0.0-test.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -8462,20 +8462,20 @@ var SpineLoader$1 = // @ts-ignore
8462
8462
  var isBinFile = _this.isBinFile(skeletonFile);
8463
8463
  if (skeletonFile && atlasFile && textureFile) {
8464
8464
  if (isBinFile) {
8465
- assetManager.loadBinary(skeletonFile);
8465
+ assetManager.loadBinary(skeletonFile, reject);
8466
8466
  } else {
8467
- assetManager.loadText(skeletonFile);
8467
+ assetManager.loadText(skeletonFile, reject);
8468
8468
  }
8469
- assetManager.loadText(atlasFile);
8470
- assetManager.loadTexture(textureFile);
8469
+ assetManager.loadText(atlasFile, reject);
8470
+ assetManager.loadTexture(textureFile, reject);
8471
8471
  } else if (skeletonFile && atlasFile && !textureFile) {
8472
8472
  autoLoadTexture = true;
8473
8473
  if (isBinFile) {
8474
- assetManager.loadBinary(skeletonFile);
8474
+ assetManager.loadBinary(skeletonFile, reject);
8475
8475
  } else {
8476
- assetManager.loadText(skeletonFile);
8476
+ assetManager.loadText(skeletonFile, reject);
8477
8477
  }
8478
- assetManager.loadTextureAtlas(atlasFile);
8478
+ assetManager.loadTextureAtlas(atlasFile, reject);
8479
8479
  } else {
8480
8480
  reject("Resouce param error");
8481
8481
  }