neo.mjs 4.8.3 → 4.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "4.8.3",
3
+ "version": "4.8.4",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -161,9 +161,12 @@ class GoogleMaps extends Base {
161
161
  * @protected
162
162
  */
163
163
  loadApi() {
164
- let key = Neo.config.googleMapsApiKey;
164
+ let key = Neo.config.googleMapsApiKey,
165
+ url = ' https://maps.googleapis.com/maps/api/js';
165
166
 
166
- DomAccess.loadScript(`https://maps.googleapis.com/maps/api/js?key=${key}&v=weekly`).then(() => {
167
+ window.foo = Neo.emptyFn;
168
+
169
+ DomAccess.loadScript(`${url}?key=${key}&v=weekly&callback=Neo.emptyFn`).then(() => {
167
170
  console.log('GoogleMaps API loaded');
168
171
  })
169
172
  }