component/component — pull request #257 by domachine (2013-02-11 22:07:37+00:00)
Title: Fix AMD loading

Component produces invalid standalone AMD builds if the main export is a function. This commit fixes this by wrapping the export in a function which is always the desired value that requirejs for example expects.