Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 378 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 378 Bytes

seajs-preload

A Sea.js plugin for preload

Install

Install with spm:

$ spm install seajs/seajs-preload

Usage

<script src="path/to/sea.js"></script>
<script src="path/to/seajs-preload.js"></script>

<script>

seajs.config({
  preload: ['jquery']
})

seajs.use("path/to/mod")

</script>

Note

This plugin bases on seajs ^2.3.0