An approach with Require.js to load modules successively
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Require.js Autoloader

As web-apps grow larger and larger the overhead grows simultaneously. With this example I tried to find an approach to initially load fundamental scripts and to autoload further scripts, when the visitor clicks through the web-app.

I choose jQuery UI for this example – only the core gets initially loaded. The widgets are loaded by the Autoloader only if necessary.

To get an impression visit the demo-site: Require.js-Autoloader-Demo