mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
update remaining anki/ references
This commit is contained in:
parent
1d72599a37
commit
00f170dddc
3 changed files with 4 additions and 4 deletions
|
@ -5,10 +5,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<script lang="typescript">
|
||||
import type { DynamicSvelteComponent } from "sveltelib/dynamicComponent";
|
||||
import type { ToolbarItem } from "./types";
|
||||
import type { Modifier } from "anki/shortcuts";
|
||||
import type { Modifier } from "lib/shortcuts";
|
||||
|
||||
import { onDestroy } from "svelte";
|
||||
import { registerShortcut, getPlatformString } from "anki/shortcuts";
|
||||
import { registerShortcut, getPlatformString } from "lib/shortcuts";
|
||||
|
||||
export let button: ToolbarItem;
|
||||
export let shortcut: string;
|
||||
|
|
|
@ -5,7 +5,7 @@ import { updateActiveButtons } from "editor-toolbar";
|
|||
import { EditingArea } from "./editingArea";
|
||||
import { caretToEnd, nodeIsElement, getBlockElement } from "./helpers";
|
||||
import { triggerChangeTimer } from "./changeTimer";
|
||||
import { registerShortcut } from "anki/shortcuts";
|
||||
import { registerShortcut } from "lib/shortcuts";
|
||||
|
||||
export function onInput(event: Event): void {
|
||||
// make sure IME changes get saved
|
||||
|
|
|
@ -4,7 +4,7 @@ import type ButtonGroup from "editor-toolbar/ButtonGroup.svelte";
|
|||
import type { ButtonGroupProps } from "editor-toolbar/ButtonGroup";
|
||||
import type { DynamicSvelteComponent } from "sveltelib/dynamicComponent";
|
||||
|
||||
import { bridgeCommand } from "anki/bridgecommand";
|
||||
import { bridgeCommand } from "lib/bridgecommand";
|
||||
import * as tr from "lib/i18n";
|
||||
import {
|
||||
labelButton,
|
||||
|
|
Loading…
Reference in a new issue