Run formatter.

This commit is contained in:
Davide Tantillo 2025-05-09 12:32:21 +02:00
parent bb1bdceb83
commit 365c4a08a3
2 changed files with 2 additions and 5 deletions

View File

@ -27,7 +27,7 @@
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/
import { AssetManager, Color, Input, LoadingScreen, ManagedWebGLRenderingContext, Physics, SceneRenderer, TimeKeeper, Vector2, Vector3 } from "@esotericsoftware/spine-webgl"
import { AssetManager, Color, Disposable, Input, LoadingScreen, ManagedWebGLRenderingContext, Physics, SceneRenderer, TimeKeeper, Vector2, Vector3 } from "@esotericsoftware/spine-webgl"
import { SpineWebComponentSkeleton } from "./SpineWebComponentSkeleton.js"
import { AttributeTypes, castValue, Point, Rectangle } from "./wcUtils.js"
@ -213,9 +213,6 @@ export class SpineWebComponentOverlay extends HTMLElement implements OverlayAttr
this.assetManager = new AssetManager(context);
}
[Symbol.dispose](): void {
throw new Error("Method not implemented.")
}
connectedCallback (): void {
this.appendedToBody = this.parentElement !== document.body;

View File

@ -1333,7 +1333,7 @@ export class SpineWebComponentSkeleton extends HTMLElement implements Disposable
customElements.define("spine-skeleton", SpineWebComponentSkeleton);
export function getSpineWidget (identifier: string): SpineWebComponentSkeleton {
return document.querySelector(`spine-skeleton[identifier=${identifier}]`) as SpineWebComponentSkeleton;
return document.querySelector(`spine-skeleton[identifier=${identifier}]`) as SpineWebComponentSkeleton;
}
export function createSpineWidget (parameters: WidgetAttributes): SpineWebComponentSkeleton {