restore js label to orphan code blocks
This commit is contained in:
parent
8527bc360a
commit
e71280f31c
4 changed files with 6 additions and 6 deletions
|
@ -41,7 +41,7 @@ otherwise it returns `undefined`.
|
||||||
The `filters` specifies an array of file types that can be displayed or
|
The `filters` specifies an array of file types that can be displayed or
|
||||||
selected when you want to limit the user to a specific type. For example:
|
selected when you want to limit the user to a specific type. For example:
|
||||||
|
|
||||||
```
|
```js
|
||||||
{
|
{
|
||||||
filters: [
|
filters: [
|
||||||
{name: 'Images', extensions: ['jpg', 'png', 'gif']},
|
{name: 'Images', extensions: ['jpg', 'png', 'gif']},
|
||||||
|
|
|
@ -359,7 +359,7 @@ the first item.
|
||||||
|
|
||||||
Template:
|
Template:
|
||||||
|
|
||||||
```
|
```js
|
||||||
[
|
[
|
||||||
{label: '4', id: '4'},
|
{label: '4', id: '4'},
|
||||||
{label: '5', id: '5'},
|
{label: '5', id: '5'},
|
||||||
|
@ -381,7 +381,7 @@ Menu:
|
||||||
|
|
||||||
Template:
|
Template:
|
||||||
|
|
||||||
```
|
```js
|
||||||
[
|
[
|
||||||
{label: 'a', position: 'endof=letters'},
|
{label: 'a', position: 'endof=letters'},
|
||||||
{label: '1', position: 'endof=numbers'},
|
{label: '1', position: 'endof=numbers'},
|
||||||
|
|
|
@ -843,7 +843,7 @@ The `callback` will be called with `callback(error, data)` on completion. The
|
||||||
|
|
||||||
By default, an empty `options` will be regarded as:
|
By default, an empty `options` will be regarded as:
|
||||||
|
|
||||||
```
|
```js
|
||||||
{
|
{
|
||||||
marginsType: 0,
|
marginsType: 0,
|
||||||
printBackground: false,
|
printBackground: false,
|
||||||
|
|
|
@ -119,7 +119,7 @@ console.log(webFrame.getResourceUsage())
|
||||||
|
|
||||||
This will generate:
|
This will generate:
|
||||||
|
|
||||||
```
|
```js
|
||||||
{
|
{
|
||||||
images: {
|
images: {
|
||||||
count: 22,
|
count: 22,
|
||||||
|
@ -133,7 +133,7 @@ This will generate:
|
||||||
xslStyleSheets: { /* same with "images" */ },
|
xslStyleSheets: { /* same with "images" */ },
|
||||||
fonts: { /* same with "images" */ },
|
fonts: { /* same with "images" */ },
|
||||||
other: { /* same with "images" */ }
|
other: { /* same with "images" */ }
|
||||||
})
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### `webFrame.clearCache()`
|
### `webFrame.clearCache()`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue