Skip to content

Commit

Permalink
[ts][pixi-v8] Add missing .js extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidetan committed Nov 15, 2024
1 parent 9d49999 commit 1b3194a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion spine-ts/spine-pixi-v8/src/BatchableSpineSlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/

import { AttachmentCacheData, Spine } from './Spine';
import { AttachmentCacheData, Spine } from './Spine.js';

import type { Batch, Batcher, BLEND_MODES, DefaultBatchableMeshElement, Matrix, Texture, Topology } from 'pixi.js';

Expand Down
2 changes: 1 addition & 1 deletion spine-ts/spine-pixi-v8/src/Spine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import {
Ticker,
ViewContainer,
} from 'pixi.js';
import { ISpineDebugRenderer } from './SpineDebugRenderer';
import { ISpineDebugRenderer } from './SpineDebugRenderer.js';
import {
AnimationState,
AnimationStateData,
Expand Down
2 changes: 1 addition & 1 deletion spine-ts/spine-pixi-v8/src/SpineDebugRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*****************************************************************************/

import { Container, Graphics, Text } from 'pixi.js';
import { Spine } from './Spine';
import { Spine } from './Spine.js';
import {
ClippingAttachment,
MeshAttachment,
Expand Down
4 changes: 2 additions & 2 deletions spine-ts/spine-pixi-v8/src/SpinePipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import {
type Renderer,
type RenderPipe,
} from 'pixi.js';
import { BatchableSpineSlot } from './BatchableSpineSlot';
import { Spine } from './Spine';
import { BatchableSpineSlot } from './BatchableSpineSlot.js';
import { Spine } from './Spine.js';
import { MeshAttachment, RegionAttachment } from '@esotericsoftware/spine-core';

const spineBlendModeMap: Record<number, BLEND_MODES> = {
Expand Down
2 changes: 1 addition & 1 deletion spine-ts/spine-pixi-v8/src/assets/atlasLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
Resolver,
TextureSource
} from 'pixi.js';
import { SpineTexture } from '../SpineTexture';
import { SpineTexture } from '../SpineTexture.js';
import { TextureAtlas } from '@esotericsoftware/spine-core';

import type { AssetExtension, Loader, ResolvedAsset, Texture, UnresolvedAsset } from 'pixi.js';
Expand Down
4 changes: 2 additions & 2 deletions spine-ts/spine-pixi-v8/src/darktint/DarkTintBatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import {
ExtensionType,
Shader
} from 'pixi.js';
import { DarkTintBatchGeometry } from './DarkTintBatchGeometry';
import { DarkTintShader } from './DarkTintShader';
import { DarkTintBatchGeometry } from './DarkTintBatchGeometry.js';
import { DarkTintShader } from './DarkTintShader.js';

let defaultShader: Shader | null = null;

Expand Down
2 changes: 1 addition & 1 deletion spine-ts/spine-pixi-v8/src/darktint/DarkTintShader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
roundPixelsBitGl,
Shader
} from 'pixi.js';
import { darkTintBit, darkTintBitGl } from './darkTintBit';
import { darkTintBit, darkTintBitGl } from './darkTintBit.js';

export class DarkTintShader extends Shader {
constructor (maxTextures: number) {
Expand Down

0 comments on commit 1b3194a

Please sign in to comment.