Skip to content

Instantly share code, notes, and snippets.

@getify
Created November 16, 2011 21:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save getify/1371524 to your computer and use it in GitHub Desktop.
Save getify/1371524 to your computer and use it in GitHub Desktop.
<script src="LAB.js"></script>
<script>
// put whatever here, for your page's other scripts that you load with <script> tags.
$LAB.script("my_script1.js").script("my_script2.js").wait().script("my_script3.js");
window.fbAsyncInit = function() {
FB.init({appId: 'your app id', status: true, cookie: true,
xfbml: true});
};
// NOTE: separate chain, doesn't wait on the above
$LAB.script("//connect.facebook.net/en_US/all.js");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment