danielbeardsley/cimpler — pull request #35 by danielbeardsley (2013-03-03 20:14:34+00:00)
Title: Make middleware function public

Instead of passing in a function to plugin.init(),
just move the middleware registering function to a public API.

Not sure why I didn't do that in the first place, it's a lot more
consistent with the rest of the functionality (addBuild,
consumeBuild, ...).