Skip to content

Use multi-line JS string in library_wasm_worker. NFC #19330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2023

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented May 10, 2023

No description provided.

@sbc100 sbc100 force-pushed the wasm_workers_multi_line_string branch from 239475c to d1c87de Compare May 10, 2023 18:04
@sbc100 sbc100 changed the title Wasm workers multi line string Use multi-line JS string in library_wasm_worker. NFC May 10, 2023
@sbc100 sbc100 requested review from juj and kripken May 10, 2023 18:04
@sbc100 sbc100 enabled auto-merge (squash) May 10, 2023 18:11
@sbc100 sbc100 merged commit cb54282 into main May 11, 2023
@sbc100 sbc100 deleted the wasm_workers_multi_line_string branch May 11, 2023 00:31
sbc100 added a commit that referenced this pull request May 13, 2023
Here are some of the vim commands I used to create this PR:

```
:%s/'\([^']\+\)' + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/'\([^']\+\)' + \([^']\+\)/`\1${\2}`/c
:%s/'\([^']\+\)' + \([^')]\+\)/`\1${\2}`/c
:%s/\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/"\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/`\([^`]\+\)` + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^')]\+\)/`\1${\2}`/c
```

Followup to #19330
sbc100 added a commit that referenced this pull request May 13, 2023
Here are some of the vim commands I used to create this PR:

```
:%s/'\([^']\+\)' + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/'\([^']\+\)' + \([^']\+\)/`\1${\2}`/c
:%s/'\([^']\+\)' + \([^')]\+\)/`\1${\2}`/c
:%s/\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/"\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/`\([^`]\+\)` + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^')]\+\)/`\1${\2}`/c
```

Followup to #19330
sbc100 added a commit that referenced this pull request May 13, 2023
Here are some of the vim commands I used to create this PR:

```
:%s/'\([^']\+\)' + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/'\([^']\+\)' + \([^']\+\)/`\1${\2}`/c
:%s/'\([^']\+\)' + \([^')]\+\)/`\1${\2}`/c
:%s/\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/"\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/`\([^`]\+\)` + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^')]\+\)/`\1${\2}`/c
```

Followup to #19330
sbc100 added a commit that referenced this pull request May 13, 2023
Here are some of the vim commands I used to create this PR:

```
:%s/'\([^']\+\)' + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/'\([^']\+\)' + \([^']\+\)/`\1${\2}`/c
:%s/'\([^']\+\)' + \([^')]\+\)/`\1${\2}`/c
:%s/\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/"\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/`\([^`]\+\)` + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^')]\+\)/`\1${\2}`/c
```

Followup to #19330
sbc100 added a commit that referenced this pull request May 15, 2023
Here are some of the vim commands I used to create this PR:

```
:%s/'\([^']\+\)' + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/'\([^']\+\)' + \([^']\+\)/`\1${\2}`/c
:%s/'\([^']\+\)' + \([^')]\+\)/`\1${\2}`/c
:%s/\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/"\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/`\([^`]\+\)` + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^')]\+\)/`\1${\2}`/c
```

Followup to #19330
sbc100 added a commit that referenced this pull request May 15, 2023
Here are some of the vim commands I used to create this PR:

```
:%s/'\([^']\+\)' + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/'\([^']\+\)' + \([^']\+\)/`\1${\2}`/c
:%s/'\([^']\+\)' + \([^')]\+\)/`\1${\2}`/c
:%s/\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/"\([^']\+\)" + \([^')]\+\)/`\1${\2}`/c
:%s/`\([^`]\+\)` + \([^']\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + '\([^']\+\)'/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^' ]\+\) + `\([^`]\+\)`/`\1${\2}\3`/c
:%s/`\([^`]\+\)` + \([^')]\+\)/`\1${\2}`/c
```

Followup to #19330
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants