Skip to content

Commit

Permalink
Refactoring for clusterer
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Sep 28, 2023
1 parent 3abc554 commit 058dc5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ to use Mappable JS Module you need to add your module loading handler to JS API

```js
mappable.import.loaders.unshift(async (pkg) => {
if (!pkg.includes('@mappable-world/mappable-clusterer')) {
if (!pkg.startsWith('@mappable-world/mappable-clusterer')) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion example/common.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-unused-vars */

mappable.import.loaders.unshift(async (pkg) => {
if (!pkg.includes('@mappable-world/mappable-clusterer')) {
if (!pkg.startsWith('@mappable-world/mappable-clusterer')) {
return;
}

Expand Down

0 comments on commit 058dc5f

Please sign in to comment.