Skip to content

Commit 5a375bf

Browse files
committed
updated core
1 parent 0a1c3ad commit 5a375bf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/core.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ export function cloneDeep(data: object) {
4444
return JSON.parse(JSON.stringify(data))
4545
}
4646

47-
export function getConfig(el: HTMLInputElement) {
48-
return JSON.parse(el.dataset.config as string) as Config
49-
}
50-
51-
export function setConfig(el: HTMLInputElement, config: any) {
52-
el.dataset.config = JSON.stringify(config)
53-
}
54-
5547
/**
5648
* Creates a CustomEvent('input') with detail = { facade: true }
5749
* used as a way to identify our own input event

0 commit comments

Comments
 (0)