From e435c2be158ce8657dbff0664b6db222fe4e586c Mon Sep 17 00:00:00 2001 From: crowlKats Date: Fri, 13 Mar 2020 10:22:22 +0100 Subject: Remove doc strings from cli/js TS files (#4329) Co-authored-by: Ryan Dahl --- cli/js/compiler/bundler.ts | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cli/js/compiler/bundler.ts') diff --git a/cli/js/compiler/bundler.ts b/cli/js/compiler/bundler.ts index ab987a7fc..8e35befc8 100644 --- a/cli/js/compiler/bundler.ts +++ b/cli/js/compiler/bundler.ts @@ -4,10 +4,8 @@ import { SYSTEM_LOADER } from "./bootstrap.ts"; import { commonPath, normalizeString, CHAR_FORWARD_SLASH } from "./util.ts"; import { assert } from "../util.ts"; -/** Local state of what the root exports are of a root module. */ let rootExports: string[] | undefined; -/** Take a URL and normalize it, resolving relative path parts. */ function normalizeUrl(rootName: string): string { const match = /^(\S+:\/{2,3})(.+)$/.exec(rootName); if (match) { @@ -23,8 +21,6 @@ function normalizeUrl(rootName: string): string { } } -/** Given a root name, contents, and source files, enrich the data of the - * bundle with a loader and re-export the exports of the root name. */ export function buildBundle( rootName: string, data: string, @@ -63,7 +59,6 @@ export function buildBundle( return `${SYSTEM_LOADER}\n${data}\n${instantiate}`; } -/** Set the rootExports which will by the `emitBundle()` */ export function setRootExports(program: ts.Program, rootModule: string): void { // get a reference to the type checker, this will let us find symbols from // the AST. -- cgit v1.2.3