-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also introduces a better approach to Worker types An alternative would be a separate tsconfig as suggested here with some folder restructuring https://stackoverflow.com/questions/56356655/structuring-a-typescript-project-with-workers
- Loading branch information
1 parent
dccccd2
commit 1b1ad7f
Showing
14 changed files
with
155 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* (c) 2022, Micro:bit Educational Foundation and contributors | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
import { SearchWorker } from "./search"; | ||
import languageSupport from "@microbit/lunr-languages/lunr.de"; | ||
|
||
new SearchWorker(self as DedicatedWorkerGlobalScope, languageSupport); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* (c) 2022, Micro:bit Educational Foundation and contributors | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
import { SearchWorker } from "./search"; | ||
import languageSupport from "@microbit/lunr-languages/lunr.es"; | ||
|
||
new SearchWorker(self as DedicatedWorkerGlobalScope, languageSupport); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* (c) 2022, Micro:bit Educational Foundation and contributors | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
import { SearchWorker } from "./search"; | ||
import languageSupport from "@microbit/lunr-languages/lunr.fr"; | ||
|
||
new SearchWorker(self as DedicatedWorkerGlobalScope, languageSupport); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* (c) 2022, Micro:bit Educational Foundation and contributors | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
import { SearchWorker } from "./search"; | ||
import languageSupport from "@microbit/lunr-languages/lunr.ja"; | ||
|
||
new SearchWorker(self as DedicatedWorkerGlobalScope, languageSupport); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* (c) 2022, Micro:bit Educational Foundation and contributors | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
import { SearchWorker } from "./search"; | ||
import languageSupport from "@microbit/lunr-languages/lunr.ko"; | ||
|
||
new SearchWorker(self as DedicatedWorkerGlobalScope, languageSupport); |
Oops, something went wrong.