• Eduardo Sanz García's avatar
    Simplify `this.link` property in `bridge.js` · 88845500
    Eduardo Sanz García authored
    `this.link` was defined as `Array<{channel: RPC, window: Window}>`
    however, the `window` property was never used. I am guessing that the
    original idea was to avoid creating additional channels for the same
    frame, however, that was never implemented.
    
    I take the decision of removing the `window` property and converting the
    `this.link` to a type of `RPC[]`.
    88845500
bridge-test.js 7.19 KB