I think I already understand what is happening, but I couldn't find any documentation on it so I need to know for sure:
Take this example from AddThis:
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=example"></script>
I wonder why putting the config script into the src call is not allowed:
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=example"> var addthis_config = {"data_track_addressbar":true}; </script>
My thoery is that when the src is called, it actually overwrites the code that is written between the tags, but what is the official reasoning and behavior?