app/google_maps/config/dependencies.rb in volt-google_maps-0.1.5 vs app/google_maps/config/dependencies.rb in volt-google_maps-0.1.6
- old
+ new
@@ -1,2 +1,4 @@
# Component dependencies
-javascript_file "https://maps.googleapis.com/maps/api/js?key=" + Volt.config.public.google_maps_api_key
+if Volt.config.public.google_maps_api_key
+ javascript_file "https://maps.googleapis.com/maps/api/js?key=" + Volt.config.public.google_maps_api_key
+end
\ No newline at end of file