Skip to content

Commit ce9e2f7

Browse files
jh-iswzeke
authored andcommitted
fix two typos (electron#311)
* fixed typo (one 'to' too much) * fixed small typo
1 parent 9cf201a commit ce9e2f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sections/communication/ipc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h5>Main Process</h5>
6666
</div>
6767
<p>It is common practice to create a new invisible browser window (renderer process) in order to run tasks without impacting performance in the main app's window.</p>
6868
<p>In this example we use the <code>remote</code> module to create a new invisible browser window from this renderer process. When the new page is loaded we send a message with <code>ipc</code> that the new window is listening for.</p>
69-
<p>The new window then computes the factorial and sends the result to be recieved by this, the original, window and added to the page above.</p>
69+
<p>The new window then computes the factorial and sends the result to be received by this, the original, window and added to the page above.</p>
7070
<h5>Renderer Process</h5>
7171
<pre><code data-path="renderer-process/communication/invisible-msg.js"></code></pre>
7272
<h5>Invisible Window Page HTML</h5>

sections/windows/crash-hang.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h5>Renderer Process</h5>
4848
<div class="demo-protip">
4949
<h2>ProTip</h2>
5050
<strong>Wait for the process to become responsive again.</strong>
51-
<p>A third option in the case of a process that is hanging is to wait and see if the problem resolves, allowing the process to become responsive again. To to do this, use the <code>BrowserWindow</code> event 'responsive' as shown below.</p>
51+
<p>A third option in the case of a process that is hanging is to wait and see if the problem resolves, allowing the process to become responsive again. To do this, use the <code>BrowserWindow</code> event 'responsive' as shown below.</p>
5252
<pre><code class="language-js">win.on('responsive', function () {
5353
// Do something when the window is responsive again
5454
})</code></pre>

0 commit comments

Comments
 (0)