helpdotcom/help-fem.js — pull request #4 by nubs (2014-12-31 20:47:51+00:00)
Title: Refactor generateCallback and allow "reply callbacks" without "registered callbacks"

This is mostly refactoring, but it does make one significant change in f06b5f8. Callbacks no longer need to be registered inside the `events` array in the fem client when the reply is a RPC-esque reply. Assuming that the callback was given on the RPC call, it will be called with the reply without having to register a dummy callback with the client for *all* events of that type.