| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2de57ed commit 6f6b99c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -115,7 +115,7 @@ const theData = 'hello'; | |||
| 115 | 115 | // Like the ReadableStream test above, this sets up a pipeline | |
| 116 | 116 | // through which the data flows... | |
| 117 | 117 | // | |
| 118 | - // We start with WritableStream W1, which is transfered to port1. | ||
| 118 | + // We start with WritableStream W1, which is transferred to port1. | ||
| 119 | 119 | // Doing so creates an internal ReadableStream R1 and WritableStream W2, | |
| 120 | 120 | // which are coupled together with MessagePorts P1 and P2. | |
| 121 | 121 | // The port1.onmessage callback receives WritableStream W2 and | |
@@ -169,25 +169,25 @@ const theData = 'hello'; | |||
| 169 | 169 | // We start with TransformStream T1, which creates ReadableStream R1, | |
| 170 | 170 | // and WritableStream W1. | |
| 171 | 171 | // | |
| 172 | - // When T1 is transfered to port1.onmessage, R1 and W1 are individually | ||
| 173 | - // transfered. | ||
| 172 | + // When T1 is transferred to port1.onmessage, R1 and W1 are individually | ||
| 173 | + // transferred. | ||
| 174 | 174 | // | |
| 175 | - // When R1 is transfered, it creates internal WritableStream W2, and | ||
| 175 | + // When R1 is transferred, it creates internal WritableStream W2, and | ||
| 176 | 176 | // new ReadableStream R2, coupled together via MessagePorts P1 and P2. | |
| 177 | 177 | // | |
| 178 | - // When W1 is transfered, it creates internal ReadableStream R3 and | ||
| 178 | + // When W1 is transferred, it creates internal ReadableStream R3 and | ||
| 179 | 179 | // new WritableStream W3, coupled together via MessagePorts P3 and P4. | |
| 180 | 180 | // | |
| 181 | 181 | // A new TransformStream T2 is created that owns ReadableStream R2 and | |
| 182 | 182 | // WritableStream W3. The port1.onmessage callback immediately transfers | |
| 183 | 183 | // that to port2.onmessage. | |
| 184 | 184 | // | |
| 185 | - // When T2 is transfered, R2 and W3 are individually transfered. | ||
| 185 | + // When T2 is transferred, R2 and W3 are individually transferred. | ||
| 186 | 186 | // | |
| 187 | - // When R2 is transfered, it creates internal WritableStream W4, and | ||
| 187 | + // When R2 is transferred, it creates internal WritableStream W4, and | ||
| 188 | 188 | // ReadableStream R4, coupled together via MessagePorts P5 and P6. | |
| 189 | 189 | // | |
| 190 | - // When W3 is transfered, it creates internal ReadableStream R5, and | ||
| 190 | + // When W3 is transferred, it creates internal ReadableStream R5, and | ||
| 191 | 191 | // WritableStream W5, coupled together via MessagePorts P7 and P8. | |
| 192 | 192 | // | |
| 193 | 193 | // A new TransformStream T3 is created that owns ReadableStream R4 and | |
| Back | FazBrowse Home | New Git URL |
0 commit comments