Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

119 lines (89 sloc) 3.298 kb
<!doctype html>
<meta http-equiv="Pragma" content="no-cache"/>
<meta charset="utf-8"/>
<link rel="stylesheet" href="docs/assets/home.css"/>
<div id="toc">
<li><a href="#download">Download</a></li>
<li><a href="docs/">Documentation</a></li>
<li><a href="docs/zh-cn/">中文文档</a></li>
<li><a href="docs/release-notes.html">Release Notes</a></li>
<li><a href="#about">About</a></li>
<li><a href="">Wiki</a></li>
<li><a href="">Blog</a></li>
<li><a href="">Community</a></li>
<li><a href="docs/demo/">Demo</a></li>
<div id="content">
<img id="logo" src="docs/assets/logo.png" alt="sea.js"/>
<p>A <a href="">Module</a> Loader for the Web</p>
<p>Here below is an example of a JavaScript module which provides a <code>sayHello</code> method:</p>
define(function(require, exports, module) {
exports.sayHello = function() {
alert('Hello from module: ' +;
To use the above module, put the code into a file <code>example.js</code> and
launch it with a html file:
&lt;script src="sea.js"&gt;&lt;/script&gt;
seajs.use('./example', function(example) {
<p>Please refer to the <a href="docs/">API documentation</a> for more details.</p>
<!-- <h2 id="intro">Introduction</h2>
<iframe src="" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<h2 id="download">Download</h2>
<p><a href="">git repo</a></p>
<p class="download">
<a href="">Development Version (1.1.0)</a> <i>32KB, Uncompressed with Comments</i><br/>
<a href="">Production Version (1.1.0)</a> <i>4KB, Minified and Gzipped</i>
<p class="promotejs">
<a href="" title="JavaScript Guide"><img src="docs/assets/promotejsv.gif" height="275" width="157" alt="JavaScript Guide"/></a>
<h2 id="compatible">Compatible</h2>
<pre class="text">
IE 5.5+ ✔
Chrome 3+ ✔
Firefox 2+ ✔
Safari 3.2+ ✔
Opera 10+ ✔
<h2 id="about">About</h2>
The sea, holding water from thousands of rivers, is huge owing to its
SeaJS is a module loader for the web. It is designed to change the way that
you organize JavaScript. With SeaJS, it is pleasure to build scalable web
SeaJS is available under the terms of the <a href="">MIT license</a>.
For questions, comments, and feedbacks, please go to <a href="">SeaJS Group</a>.
<p class="copyright">Copyright&copy;2011-2022</p>
<script src="build/sea.js" data-main="docs/assets/init"></script>
Jump to Line
Something went wrong with that request. Please try again.