Skip to content

Instantly share code, notes, and snippets.

@yanyu0517
Created January 28, 2014 05:48
Show Gist options
  • Save yanyu0517/8662846 to your computer and use it in GitHub Desktop.
Save yanyu0517/8662846 to your computer and use it in GitHub Desktop.
<html>
<head>
<script type="text/javascript" src="sea.js"></script>
<script type="text/javascript" src="seajsconfig.js"></script>
</head>
<body>
<script type="text/javascript">
seajs.use(['moduleA'], function(moduleA){
console.log(moduleA)
})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment