Skip to content

Commit 56fdbcd

Browse files
author
Carlos Hernández
committed
Style: Normalize spacing and quote usage in controller.ts.
1 parent 500f7aa commit 56fdbcd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Dropzone/assets/src/controller.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Controller } from '@hotwired/stimulus';
10+
import {Controller} from '@hotwired/stimulus';
1111

1212
export default class extends Controller {
1313
declare readonly inputTarget: HTMLInputElement;
@@ -72,7 +72,7 @@ export default class extends Controller {
7272
}
7373
}
7474

75-
this.dispatchEvent('clear');
75+
this.dispatchEvent("clear");
7676
}
7777

7878
onInputChange() {
@@ -184,6 +184,6 @@ export default class extends Controller {
184184
}
185185

186186
private dispatchEvent(name: string, payload: any = {}) {
187-
this.dispatch(name, { detail: payload, prefix: 'dropzone' });
187+
this.dispatch(name, {detail: payload, prefix: 'dropzone'});
188188
}
189189
}

0 commit comments

Comments
 (0)