Skip to content

Commit

Permalink
fix: move provideMinimapServiceV1 to the main file
Browse files Browse the repository at this point in the history
because exports are refering to the main file exports
  • Loading branch information
aminya committed Dec 26, 2020
1 parent 12f98b8 commit 126c62a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,10 @@ export function initSubscriptions () {
minimapElement.attach()
}))
}

/**
* Returns the Minimap main module instance.
*
* @return {Main} The Minimap main module instance.
*/
export function provideMinimapServiceV1 () { return exports }
7 changes: 0 additions & 7 deletions lib/mixins/plugin-management.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ export const pluginsSubscriptions = {}
*/
export const pluginsOrderMap = {}

/**
* Returns the Minimap main module instance.
*
* @return {Main} The Minimap main module instance.
*/
export function provideMinimapServiceV1 () { return exports }

/**
* Registers a minimap `plugin` with the given `name`.
*
Expand Down

0 comments on commit 126c62a

Please sign in to comment.