#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# loader Module

Defined in: `loader/js/loader.js:60`

Loader dynamically loads script and css files. It includes the dependency information for the version of the library in use, and will automatically pull in dependencies for the modules requested. It can also load the files from the Yahoo! CDN, and it can utilize the combo service provided on this network to reduce the number of http connections required to download YUI files.

This module provides the following classes:

- Loader

This module is a rollup of the following modules:

- loader-base
  Loader dynamically loads script and css files. It includes the dependency information for the version of the library in use, and will automatically pull in dependencies for the modules requested. It can also load the files from the Yahoo! CDN, and it can utilize the combo service provided on this network to reduce the number of http connections required to download YUI files.
- loader-yui3
  YUI 3 module metadata
- rollup
  Optional automatic rollup logic for reducing http connections when not using a combo service.