mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 14:11:14 +00:00
Add web worker JS API (#1993)
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared
This commit is contained in:
parent
659acadf77
commit
b0a23beb8f
28 changed files with 1013 additions and 257 deletions
16
js/assets.ts
16
js/assets.ts
|
@ -44,12 +44,8 @@ import libEsnextDts from "/third_party/node_modules/typescript/lib/lib.esnext.d.
|
|||
import libEsnextIntlDts from "/third_party/node_modules/typescript/lib/lib.esnext.intl.d.ts!string";
|
||||
import libEsnextSymbolDts from "/third_party/node_modules/typescript/lib/lib.esnext.symbol.d.ts!string";
|
||||
|
||||
// @internal
|
||||
export const assetSourceCode: { [key: string]: string } = {
|
||||
// Generated library
|
||||
"lib.deno_runtime.d.ts": libDts,
|
||||
|
||||
// Static libraries
|
||||
// Default static libraries for all compile jobs
|
||||
const defaultAssets: { [key: string]: string } = {
|
||||
"lib.es2015.collection.d.ts": libEs2015CollectionDts,
|
||||
"lib.es2015.core.d.ts": libEs2015CoreDts,
|
||||
"lib.es2015.d.ts": libEs2015Dts,
|
||||
|
@ -85,3 +81,11 @@ export const assetSourceCode: { [key: string]: string } = {
|
|||
"lib.esnext.intl.d.ts": libEsnextIntlDts,
|
||||
"lib.esnext.symbol.d.ts": libEsnextSymbolDts
|
||||
};
|
||||
|
||||
// assests for normal compile jobs
|
||||
// @internal
|
||||
export const assetSourceCode: { [key: string]: string } = {
|
||||
// Generated library
|
||||
"lib.deno_runtime.d.ts": libDts,
|
||||
...defaultAssets
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue