Complete example of SeaJS getting started series (iii) _ Seajs

Source: Internet
Author: User
This article mainly introduces a complete example of the SeaJS getting started tutorial series, and demonstrates a complete SeaJS development example. For more information, see A complete example
As I mentioned above, the knowledge points are scattered, so I plan to use a complete SeaJS example to link these knowledge points for my friends to review. This example contains the following files:

1.index.html -- home page.
2. sea. js-SeaJS script.
3. init. js -- init module, which depends on data, jquery, and style modules. Loaded from the home page.
4. data. js-data module, which is pure json data module and loaded by init.
5. jquery. js-jquery module, modular encapsulation of the jQuery library, loaded by init.
6.style.css -- CSS style sheet, which is loaded by init as the style module.
7. The Code of sea. js and jquery. js belongs to the library code, so we will not repeat it here. Here we will only provide the code of the file compiled by ourselves.
Html:

The Code is as follows:










Blog




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.