⚠️ Deprecation Notice ⚠️

This documentation is now deprecated along with the Forge-based Barlesque and ORB stack.

If you are working on a new BBC product you should almost certainly be using the new Navigation API (aka Orbit).

These pages will be left here for the lifetime of the Forge platform and are left for reference for legacy products, but no guarantee is made of their accuracy nor will any of the documented products be worked on.

Welcome

RequireJS is the javascript and resource-loading package that is available on BBC pages.

It allows you to asynchronously load javascript and css resources, making your pages more efficient and responsive. RequireJS is similar to the gloader, with the advantage that it is built with support for a CommonJS Asynchronous Module proposal API.

Tutorials