limter
This commit is contained in:
parent
59bd8286e6
commit
222512af05
|
@ -1,5 +1,5 @@
|
||||||
import i18next from "i18next";
|
|
||||||
import UIkit from "uikit";
|
import UIkit from "uikit";
|
||||||
|
import i18next from "i18next";
|
||||||
|
|
||||||
export function addClipboardNotifications(clipboard: ClipboardJS, timeout = 1000): void {
|
export function addClipboardNotifications(clipboard: ClipboardJS, timeout = 1000): void {
|
||||||
clipboard.on("success", () => {
|
clipboard.on("success", () => {
|
||||||
|
|
|
@ -35,8 +35,8 @@ export function dumpData(data: Record<string, unknown>, space = 4, syntax = "jso
|
||||||
} else if (syntax == "yaml") {
|
} else if (syntax == "yaml") {
|
||||||
return yaml.dump(data, {
|
return yaml.dump(data, {
|
||||||
indent: space,
|
indent: space,
|
||||||
quotingType: "\"",
|
quotingType: '"',
|
||||||
forceQuotes: true
|
forceQuotes: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue