paperculture/requirejs-rails — pull request #4 by wuservices (2014-07-23 17:07:13+00:00)
Title: Allow defining functions in requirejs.yml

Some RequireJS config options such as init need a function, however
YAML and JSON can only store data - not JavaScript. As a workaround
this detects a function and unescapes it when the config is added
to the page in the helper.