index.js
function internalResolve ( resolve ) {
	resolve(window.google && window.google.maps ? window.google.maps : false);
}
function internalResolve ( resolve ) {
	resolve(window.google && window.google.maps ? window.google.maps : false);
}
function internalResolve ( resolve ) { resolve ( window . google && window . google . maps ? window . google . maps : false ) ; }
Declare internal resolve function, pass google.maps for the Promise resolve

@param  {Function} resolve
Declare internal resolve function pass google . maps for the Promise resolve