linkedin/dustjs-helpers — pull request #33 by jimmyhchan (2012-11-11 06:40:24+00:00)
Title: Play nice with existing helpers. AMD friendly modules format

The diff is hard to see but here's what we got
* Respect (but clobber) existing `helper` object (Issue #32)
--diff Line:490/509

* AMD friendly module based on https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js
The top part creates the closure and handles supporting AMD/CommonJS and falls back to the global window object. We are not setting any exports.
I threw our current code into the bottom part and am not returning anything. Like jQuery plugins, we are only modifying the property of the global `dust` object so there is no need to export again.