Skip to content

Commit 910b3da

Browse files
committed
Remove obsolete references to CrossFrame class
1 parent 469745a commit 910b3da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/annotator/guest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function resolveAnchor(anchor) {
9999
* loads Hypothesis (not all frames will be annotation-enabled). In one frame,
100100
* usually the top-level one, there will also be an instance of the `Sidebar`
101101
* class that shows the sidebar app and surrounding UI. The `Guest` instance in
102-
* each frame connects to the sidebar via the `CrossFrame` service.
102+
* each frame connects to the sidebar when {@link connectToSidebar} is called.
103103
*
104104
* The anchoring implementation defaults to a generic one for HTML documents and
105105
* can be overridden to handle different document types.

src/annotator/test/guest-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('Guest', () => {
148148
$imports.$restore();
149149
});
150150

151-
describe('cross frame', () => {
151+
describe('communication with sidebar', () => {
152152
it('provides an event bus for the annotation sync module', () => {
153153
createGuest();
154154
assert.deepEqual(FakeAnnotationSync.lastCall.args[0], eventBus);

0 commit comments

Comments
 (0)