Skip to content

Instantly share code, notes, and snippets.

@undoZen
Created November 17, 2012 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save undoZen/4094541 to your computer and use it in GitHub Desktop.
Save undoZen/4094541 to your computer and use it in GitHub Desktop.
<script src="http://raw.github.com/seajs/seajs/1.3.0/dist/sea.js"></script>
<script>
seajs.config({ preload: 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js' })
seajs.use([], function () { alert('1:' + !!window.$) })
seajs.use([], function () { alert('2:' + !!window.$) })
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment