Skip to content

Commit

Permalink
Retire the DummyService.
Browse files Browse the repository at this point in the history
No longer needed as we have real ones to test with.

Issue #130.

␄
  • Loading branch information
Mike Castle committed Nov 6, 2023
1 parent d3b19f5 commit 22df9d7
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions linkedin-tool.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1769,21 +1769,6 @@

}

/** Toy service for experimenting. */
class DummyService extends Service {

/** @inheritdoc */
activate() {
this.logger.log('Dummy activate');
}

/** @inheritdoc */
deactivate() {
this.logger.log('Dummy deactivate');
}

}

/** Manage a {Scroller} via {Service}. */
class ScrollerService extends Service {

Expand Down Expand Up @@ -2416,8 +2401,6 @@
spa.details.navBarScrollerFixup(Feed.#postsHow);
spa.details.navBarScrollerFixup(Feed.#commentsHow);

this.#dummy = this.addService(DummyService);

this.#postScroller = new Scroller(Feed.#postsWhat, Feed.#postsHow);
this.addService(ScrollerService, this.#postScroller);
this.#postScroller.dispatcher.on(
Expand Down Expand Up @@ -2447,8 +2430,6 @@
#commentScroller = null;
#lastScroller

#dummy

#onPostActivate = () => {
const me = 'onPostActivate';
this.logger.entered(me);
Expand Down

0 comments on commit 22df9d7

Please sign in to comment.