Skip to content

Commit 6aacaed

Browse files
authored
test:Update index.ts (#373)
Format changes to test workflow change.
1 parent f66f4ec commit 6aacaed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/address-validation/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
*/
66

77
// [START maps_address_validation]
8-
// --- DOM Refs ---
8+
// DOM Refs
99
const addressForm = document.getElementById('address-form');
1010
const validateButton = document.getElementById('validate-button');
1111
const clearFormButton = document.getElementById('clear-form-button');
1212
const resultDisplay = document.getElementById('result-display');
1313
const loadingText = document.getElementById('loading-text');
14-
// --- Input field refs ---
14+
// Input field refs
1515
const streetAddress1Input = document.getElementById('street-address-1') as HTMLInputElement;
1616
const streetAddress2Input = document.getElementById('street-address-2') as HTMLInputElement;
1717
const cityInput = document.getElementById('city') as HTMLInputElement;
@@ -20,7 +20,7 @@ const zipCodeInput = document.getElementById('zip-code') as HTMLInputElement;
2020
const regionSelect = document.getElementById('region-select') as HTMLSelectElement;
2121
const exampleSelect = document.getElementById('example-select') as HTMLSelectElement;
2222

23-
// --- Core Initialization ---
23+
// Core Initialization
2424
async function init() {
2525
// Load the Address Validation library
2626
await google.maps.importLibrary('addressValidation');
@@ -31,7 +31,7 @@ async function init() {
3131
}
3232

3333
// [START maps_address_validation_form_handler]
34-
// --- Validation Handler ---
34+
// Validation Handler
3535
async function handleValidationSubmit(event) {
3636
event.preventDefault(); // Prevent default form submission
3737
resultDisplay!.textContent = 'Validating...'; // Clear previous results

0 commit comments

Comments
 (0)