mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Set Trailing Cmma to (#525)
This commit is contained in:
parent
25202aec11
commit
ee68af0fd3
53 changed files with 352 additions and 350 deletions
|
@ -15,7 +15,7 @@ export function capitalizeString(str: string) {
|
|||
}
|
||||
|
||||
export function isInputLike(
|
||||
target: Element | EventTarget | null
|
||||
target: Element | EventTarget | null,
|
||||
): target is HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement {
|
||||
return (
|
||||
(target instanceof HTMLElement && target.dataset.type === "wysiwyg") ||
|
||||
|
@ -54,7 +54,7 @@ export function measureText(text: string, font: string) {
|
|||
|
||||
export function debounce<T extends any[]>(
|
||||
fn: (...args: T) => void,
|
||||
timeout: number
|
||||
timeout: number,
|
||||
) {
|
||||
let handle = 0;
|
||||
let lastArgs: T;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue