Skip to content

Commit cc2b95f

Browse files
committed
js → javascript
1 parent e71280f commit cc2b95f

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

docs/api/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ otherwise it returns `undefined`.
4141
The `filters` specifies an array of file types that can be displayed or
4242
selected when you want to limit the user to a specific type. For example:
4343

44-
```js
44+
```javascript
4545
{
4646
filters: [
4747
{name: 'Images', extensions: ['jpg', 'png', 'gif']},

docs/api/menu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ the first item.
359359

360360
Template:
361361

362-
```js
362+
```javascript
363363
[
364364
{label: '4', id: '4'},
365365
{label: '5', id: '5'},
@@ -381,7 +381,7 @@ Menu:
381381

382382
Template:
383383

384-
```js
384+
```javascript
385385
[
386386
{label: 'a', position: 'endof=letters'},
387387
{label: '1', position: 'endof=numbers'},

docs/api/tray.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Sets when the tray's icon background becomes highlighted (in blue).
197197
by toggling between `'never'` and `'always'` modes when the window visibility
198198
changes.
199199

200-
```js
200+
```javascript
201201
const {BrowserWindow, Tray} = require('electron')
202202

203203
const win = new BrowserWindow({width: 800, height: 600})

docs/api/web-contents.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ console.log(contents)
2222

2323
These methods can be accessed from the `webContents` module:
2424

25-
```js
25+
```javascript
2626
const {webContents} = require('electron')
2727
console.log(webContents)
2828
```
@@ -843,7 +843,7 @@ The `callback` will be called with `callback(error, data)` on completion. The
843843

844844
By default, an empty `options` will be regarded as:
845845

846-
```js
846+
```javascript
847847
{
848848
marginsType: 0,
849849
printBackground: false,

docs/api/web-frame.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ console.log(webFrame.getResourceUsage())
119119

120120
This will generate:
121121

122-
```js
122+
```javascript
123123
{
124124
images: {
125125
count: 22,

docs/tutorial/using-selenium-and-webdriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ has helpers to access Electron APIs in your tests and bundles ChromeDriver.
1818
$ npm install --save-dev spectron
1919
```
2020

21-
```js
21+
```javascript
2222
// A simple test to verify a visible window is opened with a title
2323
var Application = require('spectron').Application
2424
var assert = require('assert')

0 commit comments

Comments
 (0)