1448, chore: add missing semicolons
This commit is contained in:
parent
7ef521ad1f
commit
877d108c2c
|
@ -4,11 +4,11 @@ export default class extends Controller {
|
||||||
|
|
||||||
static values = {
|
static values = {
|
||||||
copy: String
|
copy: String
|
||||||
}
|
};
|
||||||
|
|
||||||
declare readonly copyValue: string;
|
declare readonly copyValue: string;
|
||||||
|
|
||||||
async copy(){
|
async copy(){
|
||||||
await navigator.clipboard.writeText(this.copyValue)
|
await navigator.clipboard.writeText(this.copyValue);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,5 +40,5 @@ export default function (): void {
|
||||||
window['Stimulus'].register('theme', ThemeController);
|
window['Stimulus'].register('theme', ThemeController);
|
||||||
window['Stimulus'].register('toast', ToastController);
|
window['Stimulus'].register('toast', ToastController);
|
||||||
window['Stimulus'].register('share', ShareController);
|
window['Stimulus'].register('share', ShareController);
|
||||||
window['Stimulus'].register('clipboard', ClipboardController)
|
window['Stimulus'].register('clipboard', ClipboardController);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue