mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-19 21:11:32 +01:00
remove dayjs import from bookmarks model
This commit is contained in:
parent
b62977470b
commit
23b3250f18
@ -6,17 +6,11 @@ import { sprintf } from "sprintf-js";
|
||||
import { boundMethod } from "autobind-decorator";
|
||||
import { genMergeSimpleData } from "../util/util";
|
||||
import { BookmarkType } from "../types/types";
|
||||
import dayjs from "dayjs";
|
||||
import localizedFormat from "dayjs/plugin/localizedFormat";
|
||||
import customParseFormat from "dayjs/plugin/customParseFormat";
|
||||
import { checkKeyPressed, adaptFromReactOrNativeKeyEvent } from "../util/keyutil";
|
||||
import { OV, OArr } from "../types/types";
|
||||
import { CommandRunner } from "./commandrunner";
|
||||
import { Model } from "./model";
|
||||
|
||||
dayjs.extend(customParseFormat);
|
||||
dayjs.extend(localizedFormat);
|
||||
|
||||
class BookmarksModel {
|
||||
globalCommandRunner: CommandRunner;
|
||||
globalModel: Model;
|
||||
|
Loading…
Reference in New Issue
Block a user