• Eduardo Sanz García's avatar
    Do not create a `Guest` instance in the VS container · 1b8e8a4d
    Eduardo Sanz García authored
    In order to not create an unnecessary `Guest` instance in the
    VitalSource container we needed to do the following:
    
    * The `VitalSourceContainerIntegration` is stripped down and converted
      to a class, `VitalSourceInjector`, that does not implement the
      Integration interface but is only responsible for injecting the client
      into content frames.
    
    * The host frame checks the VS frame role and either constructs a Guest
      or sets up the `VitalSourceInjector` as appropriate.
    
    * The `HypothesisInjector`-related logic in `Guest` is extracted out of
      that class and set up in the annotator entry point instead.
    1b8e8a4d
Name
Last commit
Last update
..
annotator.js Loading commit data...
api.js Loading commit data...
config.js Loading commit data...
pdfjs.js Loading commit data...
port-rpc-events.d.ts Loading commit data...
process.d.ts Loading commit data...
rpc.js Loading commit data...
sidebar.js Loading commit data...