Skip to content

Commit

Permalink
fix: js not working after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
trexrush committed Feb 10, 2025
1 parent 6a21704 commit 9833de7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/AlgListingVertical.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { IAlgorithmClass } from "../types/algorithmClass";
import type { IAlgorithmClass } from "../types/algorithmClass";
export let algorithm: IAlgorithmClass
Expand Down
2 changes: 1 addition & 1 deletion src/components/CaseCardVertical.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { ICase } from "../types/dataFormat";
import type { ICase } from "../types/dataFormat";
export let caso: ICase
export let mirror: boolean
Expand Down
4 changes: 2 additions & 2 deletions src/components/TwistyPlayer.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!-- credit to anicolao https://github.com/cubing/cubing.js/issues/223#issuecomment-1249980565 -->
<script lang="ts">
import { TwistyPlayer } from "cubing/twisty";
import { IAlgorithmClass } from "../types/algorithmClass";
import { IDisplayConfig } from "../types/displayConfig";
import type { IAlgorithmClass } from "../types/algorithmClass";
import type { IDisplayConfig } from "../types/displayConfig";
export let algorithm: IAlgorithmClass
export let config: IDisplayConfig
Expand Down
2 changes: 1 addition & 1 deletion src/components/templates/AlgListing.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import type { ComponentType } from "svelte";
import { tooltip } from "../../scripts/utilities";
import AlgListingVertical from "../AlgListingVertical.svelte";
import { IAlgorithmClass } from "../../types/algorithmClass";
import type { IAlgorithmClass } from "../../types/algorithmClass";
export let isActive: boolean
export let algorithm: IAlgorithmClass
Expand Down
6 changes: 3 additions & 3 deletions src/components/templates/AlgVisuals.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import { cubePNG, Axis, Masking, ICubeOptions } from "sr-visualizer"
import { PNG, type PNGVisualizerOptions, Type } from "sr-puzzlegen"
import merge from "ts-deepmerge";
import { IAlgorithmClass } from "../../types/algorithmClass";
import { ICase } from "../../types/dataFormat";
import { IDisplayConfig } from "../../types/displayConfig";
import type { IAlgorithmClass } from "../../types/algorithmClass";
import type { ICase } from "../../types/dataFormat";
import type { IDisplayConfig } from "../../types/displayConfig";
export let imageAlg: IAlgorithmClass
export let activeAlg: IAlgorithmClass
Expand Down
6 changes: 3 additions & 3 deletions src/components/templates/CaseCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import { tooltip } from "../../scripts/utilities";
import CaseCardVertical from "../CaseCardVertical.svelte";
import type { ComponentType } from "svelte";
import { ICase } from "../../types/dataFormat";
import { IAlgorithmClass } from "../../types/algorithmClass";
import { IDisplayConfig } from "../../types/displayConfig";
import type { ICase } from "../../types/dataFormat";
import type { IAlgorithmClass } from "../../types/algorithmClass";
import type { IDisplayConfig } from "../../types/displayConfig";
export let caso: ICase
export let config: IDisplayConfig
Expand Down

0 comments on commit 9833de7

Please sign in to comment.