--- layout: default title: Using Shuffle with Requirejs description: A simple example of how you can use Shuffle with an AMD loader like RequireJS. image: /demos/requirejs.jpg extraJS: [] requirejs: true ---

RequireJS!

Shuffle uses a UMD wrapper, so it is compatible with AMD loaders like RequireJS. The UMD wrapper also allows Shuffle to work with CommonJS modules. You can take a peek at the config file used on this page.

{% for item in site.data.items %}
{{ item.description }}
{{ item.title }}
{% endfor %}

Shuffle.js

{{ site.longDescription }}