mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 00:30:12 +08:00
[ts] Formatting.
This commit is contained in:
parent
6e4162d093
commit
e9883a86b9
@ -371,7 +371,7 @@ class SpineAtlasFile extends Phaser.Loader.MultiFile {
|
||||
}
|
||||
|
||||
let basePath = (file.src.match(/^.*\//) ?? "").toString();
|
||||
if(this.loader.path && this.loader.path.length > 0 && basePath.startsWith(this.loader.path))
|
||||
if (this.loader.path && this.loader.path.length > 0 && basePath.startsWith(this.loader.path))
|
||||
basePath = basePath.slice(this.loader.path.length);
|
||||
|
||||
for (var i = 0; i < textures.length; i++) {
|
||||
|
||||
@ -363,7 +363,7 @@ class SpineAtlasFile extends Phaser.Loader.MultiFile {
|
||||
}
|
||||
|
||||
let basePath = (file.src.match(/^.*\//) ?? "").toString();
|
||||
if(this.loader.path && this.loader.path.length > 0 && basePath.startsWith(this.loader.path))
|
||||
if (this.loader.path && this.loader.path.length > 0 && basePath.startsWith(this.loader.path))
|
||||
basePath = basePath.slice(this.loader.path.length);
|
||||
|
||||
for (var i = 0; i < textures.length; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user