hearsayit/HearsayRequireJSBundle — pull request #40 by afishnamedsquish (2013-08-20 18:46:44+00:00)
Title: Add start option and data-start script attribute to support additional approach to multi-page sites 

So I can avoid wrapping all of my main modules in a require call to load a common js file I prefer to use this approach to have the main script look for a data-start attribute and require that module if available. In order to support this I had to add an extra option to the initialize method for the start script.

Alternately if the options were just passed through directly from the twig template to the initialize call then I could just override the initialization template, but since it only passed through main and config options I had to modify the helper.

This stack overflow post discusses this approach to multi page requirejs: http://stackoverflow.com/questions/11674824/how-to-use-requirejs-build-profile-r-js-in-a-multi-page-project/11730147#11730147

Great bundle!