Skip to content

Commit

Permalink
chore: Removing commented out code (QwikDev#2082)
Browse files Browse the repository at this point in the history
  • Loading branch information
daskalou authored Nov 11, 2022
1 parent 9c50e1f commit 6fc53fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/submodule-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ async function submoduleCoreProd(config: BuildConfig) {
await writeFile(esmMinFile, esmMinCode);
const esmCleanCode = esmMinCode.replace(/__self__/g, '__SELF__');

// const windowIdx = esmCleanCode.indexOf('window');
const selfIdx = esmCleanCode.indexOf('self');
const indx = Math.max(selfIdx);
if (indx !== -1) {
Expand Down

0 comments on commit 6fc53fb

Please sign in to comment.