mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 14:08:41 -09:00
Improve onUnload docs (#2409)
Add missing reference to `onUnload` invocation during [plugin updates](https://github.com/zeit/hyper/blob/2.0.4/app/plugins.js#L111).
This commit is contained in:
parent
28cab5e874
commit
c73d7317af
1 changed files with 4 additions and 3 deletions
|
|
@ -287,7 +287,7 @@
|
||||||
#content h3:before {
|
#content h3:before {
|
||||||
content: '### ';
|
content: '### ';
|
||||||
}
|
}
|
||||||
|
|
||||||
#content h4:before {
|
#content h4:before {
|
||||||
content: '#### ';
|
content: '#### ';
|
||||||
}
|
}
|
||||||
|
|
@ -925,7 +925,8 @@
|
||||||
<td><code>onUnload</code></td>
|
<td><code>onUnload</code></td>
|
||||||
<td>Electron</td>
|
<td>Electron</td>
|
||||||
<td>
|
<td>
|
||||||
<p>Invoked when a plugin is removed by the user.</p>
|
<p>Invoked when a plugin is removed by the user and during
|
||||||
|
plugin updates.</p>
|
||||||
<p>Parameters:</p>
|
<p>Parameters:</p>
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
@ -1242,7 +1243,7 @@
|
||||||
<p>The user can hot-load and hot-reload plugins by pressing
|
<p>The user can hot-load and hot-reload plugins by pressing
|
||||||
Command + R (refresh). Please strive to make plugins that don't
|
Command + R (refresh). Please strive to make plugins that don't
|
||||||
require a complete restart of the application to work.</p>
|
require a complete restart of the application to work.</p>
|
||||||
|
|
||||||
<h4>Notice</h4>
|
<h4>Notice</h4>
|
||||||
<p>Plugins affecting the `BrowserWindow` will the effect on new windows after hot-reload.</p>
|
<p>Plugins affecting the `BrowserWindow` will the effect on new windows after hot-reload.</p>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue