[ts] Source whitespace.

This commit is contained in:
Nathan Sweet 2023-10-01 14:47:18 -04:00
parent 9999ea82ca
commit 351d42f511

View File

@ -87,7 +87,7 @@ export class SpineCanvas {
update: () => { }, update: () => { },
render: () => { }, render: () => { },
error: () => { }, error: () => { },
dispose: () => { }, dispose: () => { },
} }
if (!config.webglConfig) config.webglConfig = { alpha: true }; if (!config.webglConfig) config.webglConfig = { alpha: true };
@ -131,7 +131,7 @@ export class SpineCanvas {
} }
/** Disposes the app, so the update() and render() functions are no longer called. Calls the dispose() callback.*/ /** Disposes the app, so the update() and render() functions are no longer called. Calls the dispose() callback.*/
dispose() { dispose () {
if (this.config.app.dispose) this.config.app.dispose(this); if (this.config.app.dispose) this.config.app.dispose(this);
this.disposed = true; this.disposed = true;
} }