I have made a part that adds a google maps script as a page contribution to the bodyEnd. As I understand it from the documentation, any duplicate string contributions to the same injection point should be ignored:
" If the same string is contributed from different parts, or from the same part that exists multiple times in the page, the value will only be inserted once."
Note: The google maps API script reference is injected as its own separate string, isolated from the map script itself.
It’s not a problem isolated to this particular case though, as I have been experiencing the same problem when I have added jquery through page contributions as well.
Is this something that others are experiencing, and is there any work around for it?
In this case, the part is added 2 times. But in the jquery case I mentioned, the page contributions were added from different parts. The results were duplicate contributions in both cases.