Skip to content

Commit e52f53b

Browse files
Update dist folder [skip ci] (#380)
Co-authored-by: googlemaps-bot <[email protected]>
1 parent 403a78a commit e52f53b

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

dist/samples/address-validation/app/index.ts

Lines changed: 5 additions & 5 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,9 +20,9 @@ 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() {
25-
// Load the Address Validation library
25+
// Load the Address Validation library.
2626
await google.maps.importLibrary('addressValidation');
2727
// Set event listeners
2828
addressForm!.addEventListener('submit', handleValidationSubmit);
@@ -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

dist/samples/address-validation/docs/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@
55
* SPDX-License-Identifier: Apache-2.0
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');
1616
const streetAddress2Input = document.getElementById('street-address-2');
1717
const cityInput = document.getElementById('city');
1818
const stateInput = document.getElementById('state');
1919
const zipCodeInput = document.getElementById('zip-code');
2020
const regionSelect = document.getElementById('region-select');
2121
const exampleSelect = document.getElementById('example-select');
22-
// --- Core Initialization ---
22+
// Core Initialization
2323
async function init() {
24-
// Load the Address Validation library
24+
// Load the Address Validation library.
2525
await google.maps.importLibrary('addressValidation');
2626
// Set event listeners
2727
addressForm.addEventListener('submit', handleValidationSubmit);
2828
exampleSelect.addEventListener('change', handleExampleSelectChange);
2929
clearFormButton.addEventListener('click', handleClearForm);
3030
}
3131
// [START maps_address_validation_form_handler]
32-
// --- Validation Handler ---
32+
// Validation Handler
3333
async function handleValidationSubmit(event) {
3434
event.preventDefault(); // Prevent default form submission
3535
resultDisplay.textContent = 'Validating...'; // Clear previous results

dist/samples/address-validation/docs/index.ts

Lines changed: 5 additions & 5 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,9 +20,9 @@ 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() {
25-
// Load the Address Validation library
25+
// Load the Address Validation library.
2626
await google.maps.importLibrary('addressValidation');
2727
// Set event listeners
2828
addressForm!.addEventListener('submit', handleValidationSubmit);
@@ -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

dist/samples/address-validation/jsfiddle/demo.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@
55
* SPDX-License-Identifier: Apache-2.0
66
*/
77

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');
1616
const streetAddress2Input = document.getElementById('street-address-2');
1717
const cityInput = document.getElementById('city');
1818
const stateInput = document.getElementById('state');
1919
const zipCodeInput = document.getElementById('zip-code');
2020
const regionSelect = document.getElementById('region-select');
2121
const exampleSelect = document.getElementById('example-select');
22-
// --- Core Initialization ---
22+
// Core Initialization
2323
async function init() {
24-
// Load the Address Validation library
24+
// Load the Address Validation library.
2525
await google.maps.importLibrary('addressValidation');
2626
// Set event listeners
2727
addressForm.addEventListener('submit', handleValidationSubmit);
2828
exampleSelect.addEventListener('change', handleExampleSelectChange);
2929
clearFormButton.addEventListener('click', handleClearForm);
3030
}
3131

32-
// --- Validation Handler ---
32+
// Validation Handler
3333
async function handleValidationSubmit(event) {
3434
event.preventDefault(); // Prevent default form submission
3535
resultDisplay.textContent = 'Validating...'; // Clear previous results

0 commit comments

Comments
 (0)