Skip to content

Instantly share code, notes, and snippets.

@emilisto
Created July 25, 2012 09:38
Show Gist options
  • Save emilisto/3175306 to your computer and use it in GitHub Desktop.
Save emilisto/3175306 to your computer and use it in GitHub Desktop.
<script>
var s = document.createElement('script');
s.src = "//awesome-service.com/init.js";
s.async = true;
// This global is picked up by init.js whenever it loads
window.awesome_options = { project: 13, client: 'greenfield' };
document.body.appendChild(s);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment