Skip to content

Commit 26dab58

Browse files
committed
removed implemented TODO comments
1 parent df208a9 commit 26dab58

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

src/processScript/minify.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ type MinifyOptions = {
1818
}
1919

2020
// TODO move autocomplete code outside this function
21-
// TODO allow not mangling class and function names
2221
// TODO replace references to `arguments`
2322

2423
/**
@@ -172,7 +171,6 @@ export async function minify(file: File, autocomplete?: string, {
172171
}
173172
})
174173

175-
// BUG the source char count is off for this version of the script
176174
const scriptBeforeJSONValueReplacement = (await terser.minify(generate(fileBeforeJSONValueReplacement!).code, {
177175
ecma: 2015,
178176
compress: {

src/processScript/transform.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ export function transform(file: File, sourceCode: string, {
208208
}
209209
}
210210

211-
// TODO turn not calling into a arrow function wrapper
212211
if (program.scope.hasGlobal(`$D`)) {
213212
for (const referencePath of getReferencePathsToGlobal(`$D`, program)) {
214213
if (referencePath.parentPath.type == `CallExpression`)

0 commit comments

Comments
 (0)