@babylonjs/loaders 5.8.2 → 5.9.0

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.
@@ -22,7 +22,6 @@ import { AnimationKeyInterpolation } from "@babylonjs/core/Animations/animationK
22
22
  import { DecodeBase64UrlToBinary, IsBase64DataUrl, LoadFileError } from "@babylonjs/core/Misc/fileTools.js";
23
23
  import { Logger } from "@babylonjs/core/Misc/logger.js";
24
24
  import { BoundingInfo } from "@babylonjs/core/Culling/boundingInfo.js";
25
- import { StringTools } from "@babylonjs/core/Misc/stringTools.js";
26
25
  /**
27
26
  * Helper class for working with arrays when loading the glTF asset
28
27
  */
@@ -254,7 +253,7 @@ var GLTFLoader = /** @class */ (function () {
254
253
  return Promise.resolve()
255
254
  .then(function () {
256
255
  _this._rootUrl = rootUrl;
257
- _this._uniqueRootUrl = !StringTools.StartsWith(rootUrl, "file:") && fileName ? rootUrl : "".concat(rootUrl).concat(Date.now(), "/");
256
+ _this._uniqueRootUrl = !rootUrl.startsWith("file:") && fileName ? rootUrl : "".concat(rootUrl).concat(Date.now(), "/");
258
257
  _this._fileName = fileName;
259
258
  _this._loadExtensions();
260
259
  _this._checkExtensions();