Skip to content

Bower support, AMD, and separate Modernizr file

Compare
Choose a tag to compare
@Vestride Vestride released this 12 Apr 22:29
· 399 commits to main since this release

Shuffle can now be installed via bower.

bower install shufflejs

It now also supports AMD. To accomplish this and to make it easier to include Shuffle with other components, Modernizr has been separated into a separate file. This allows you keep Modernizr in the <head> to prevent FOUT. There is now jquery.shuffle.modernizr.js inside the dist/ folder, which includes the custom version of Modernizr as before. The custom modernizr build is also in the dist/ folder if you'd like to use it.

This closes #15.