• Robert Knight's avatar
    Stop exporting the main annotation layer object as `window.annotator` · 0033f774
    Robert Knight authored
    The main application object in the code which runs in the host page was
    made visible to other code on the page as `window.annotator`.
    
    This export existed for legacy reasons (the client's Annotator.js
    heritage), is not part of the public API of the client and we do not
    make any effort to avoid breaking changes to it between releases.
    Removing this export should prevent third parties writing code which
    depends on its interface.
    0033f774
main.js 1.59 KB