guardian/enhancer — pull request #1 by Rich-Harris (2014-03-05 18:41:20+00:00)
Title: Update enhancer.js

This PR replaces the second, third and fourth arguments with a single options object, which in addition to `config`, `context` and `mediator` has a `self` property - the url of the module we're loading.

In theory this is obviously a breaking change. In practice though I don't think anyone has ever used any of the arguments other than `el`. Either way, I think we should prioritise a future-friendly design over worrying about a small number of pieces produced during the experimental phase we're just coming out of, especially since any interactives that *did* break as a result of this change have most likely already had their traffic.