• Eduardo Sanz García's avatar
    Simplify construction of `AnnotationSync` service · 7ac64ea8
    Eduardo Sanz García authored
    `CrossFrame` created an emitter and wrapped the `subscribe` and
    `publish` methods into two functions that were passed as arguments to
    the `AnnotationSync`'s constructor.
    
    A simpler and more direct approach is to pass the event bus directly to
    `AnnotationSync`.
    7ac64ea8
cross-frame.js 3.7 KB