Created
December 6, 2013 09:14
-
-
Save lotosbin/7820846 to your computer and use it in GitHub Desktop.
javascript:html:seajs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <title></title> | |
| </head> | |
| <body> | |
| <script> | |
| // seajs 的简单配置 | |
| seajs.config({ | |
| base: "./sea-modules/", | |
| alias: { | |
| "jquery": "jquery/jquery/1.10.1/jquery.js" | |
| } | |
| }) | |
| // 加载入口模块 | |
| seajs.use("./static/hello/src/main") | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment