mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-31 23:11:28 +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 { boundMethod } from "autobind-decorator";
|
||||||
import { genMergeSimpleData } from "../util/util";
|
import { genMergeSimpleData } from "../util/util";
|
||||||
import { BookmarkType } from "../types/types";
|
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 { checkKeyPressed, adaptFromReactOrNativeKeyEvent } from "../util/keyutil";
|
||||||
import { OV, OArr } from "../types/types";
|
import { OV, OArr } from "../types/types";
|
||||||
import { CommandRunner } from "./commandrunner";
|
import { CommandRunner } from "./commandrunner";
|
||||||
import { Model } from "./model";
|
import { Model } from "./model";
|
||||||
|
|
||||||
dayjs.extend(customParseFormat);
|
|
||||||
dayjs.extend(localizedFormat);
|
|
||||||
|
|
||||||
class BookmarksModel {
|
class BookmarksModel {
|
||||||
globalCommandRunner: CommandRunner;
|
globalCommandRunner: CommandRunner;
|
||||||
globalModel: Model;
|
globalModel: Model;
|
||||||
|
Loading…
Reference in New Issue
Block a user