As the response to a service start command, let the service return a valid,
anonymous JS object with methods defining the API for that service. The
base outfox object in JS should assign this object to outfox.<service name>
for use. It should then call the init method on that JS object to give it a
chance to communicate with its server backend to get any initial
configuration it needs before invoking the callback for a successful
service start. If the object needs no additional info from the backend,
init should invoke the callback immediately.
Original issue reported on code.google.com by c...@unc.edu on 18 Sep 2008 at 1:46
Original issue reported on code.google.com by
c...@unc.edu
on 18 Sep 2008 at 1:46