Skip to content

Commit

Permalink
fix: add loading=async to the urls with callbacks (#822) 2d05217
Browse files Browse the repository at this point in the history
  • Loading branch information
googlemaps-bot committed Feb 15, 2024
1 parent 87e8512 commit f11e8d8
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 43 deletions.
36 changes: 18 additions & 18 deletions classes/Loader.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ this.google.maps.plugins.loader = (function (exports) {
*/
createUrl() {
let url = this.url;
url += `?callback=__googleMapsCallback`;
url += `?callback=__googleMapsCallback&loading=async`;
if (this.apiKey) {
url += `&key=${this.apiKey}`;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f11e8d8

Please sign in to comment.