You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs: fix minor grammar error 'punctuations'
* docs: fix minor grammar error pluralizing Chromium
* docs: fix typo 'updateCurrentActiviy'
* docs: use consistent spelling of 'behavior'
* docs: use 'macOS' instead of 'Mac OS' or 'OS X'.
* docs: use 'GTK' instead of 'GTK+'
https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html
* docs: minor capitalization: use 'TCP' not 'tcp'
* Update docs/development/build-instructions-linux.md
Co-Authored-By: Mark Lee <malept@users.noreply.github.com>
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Copy file name to clipboardexpand all lines: docs/api/app.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ Returns:
75
75
*`event` Event
76
76
77
77
Emitted when all windows have been closed and the application will quit.
78
-
Calling `event.preventDefault()` will prevent the default behaviour, which is
78
+
Calling `event.preventDefault()` will prevent the default behavior, which is
79
79
terminating the application.
80
80
81
81
See the description of the `window-all-closed` event for the differences between
@@ -204,7 +204,7 @@ Returns:
204
204
[`NSUserActivity.activityType`][activity-type].
205
205
*`userInfo` unknown - Contains app-specific state stored by the activity.
206
206
207
-
Emitted when [Handoff][handoff] is about to be resumed on another device. If you need to update the state to be transferred, you should call `event.preventDefault()` immediately, construct a new `userInfo` dictionary and call `app.updateCurrentActiviy()` in a timely manner. Otherwise, the operation will fail and `continue-activity-error` will be called.
207
+
Emitted when [Handoff][handoff] is about to be resumed on another device. If you need to update the state to be transferred, you should call `event.preventDefault()` immediately, construct a new `userInfo` dictionary and call `app.updateCurrentActivity()` in a timely manner. Otherwise, the operation will fail and `continue-activity-error` will be called.
208
208
209
209
### Event: 'new-window-for-tab' _macOS_
210
210
@@ -1027,7 +1027,7 @@ This method can only be called before app is ready.
1027
1027
1028
1028
By default, Chromium disables 3D APIs (e.g. WebGL) until restart on a per
1029
1029
domain basis if the GPU processes crashes too frequently. This function
1030
-
disables that behaviour.
1030
+
disables that behavior.
1031
1031
1032
1032
This method can only be called before app is ready.
1033
1033
@@ -1196,7 +1196,7 @@ Show the app's about panel options. These options can be overridden with `app.se
1196
1196
*`website` String (optional) _Linux_ - The app's website.
1197
1197
*`iconPath` String (optional) _Linux__Windows_ - Path to the app's icon. On Linux, will be shown as 64x64 pixels while retaining aspect ratio.
1198
1198
1199
-
Set the about panel options. This will override the values defined in the app's `.plist` file on MacOS. See the [Apple docs][about-panel-options] for more details. On Linux, values must be set in order to be shown; there are no defaults.
1199
+
Set the about panel options. This will override the values defined in the app's `.plist` file on macOS. See the [Apple docs][about-panel-options] for more details. On Linux, values must be set in order to be shown; there are no defaults.
1200
1200
1201
1201
If you do not set `credits` but still wish to surface them in your app, AppKit will look for a file named "Credits.html", "Credits.rtf", and "Credits.rtfd", in that order, in the bundle returned by the NSBundle class method main. The first file found is used, and if none is found, the info area is left blank. See Apple [documentation](https://developer.apple.com/documentation/appkit/nsaboutpaneloptioncredits?language=objc) for more information.
Copy file name to clipboardexpand all lines: docs/api/command-line-switches.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ Aliased to `--debug-port=[host:]port`.
216
216
217
217
Activate inspector on `host:port`. Default is `127.0.0.1:9229`.
218
218
219
-
V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug and profile Electron instances. The tools attach to Electron instances via a tcp port and communicate using the [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/).
219
+
V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug and profile Electron instances. The tools attach to Electron instances via a TCP port and communicate using the [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/).
220
220
221
221
See the [Debugging the Main Process][debugging-main-process] guide for more details.
Copy file name to clipboardexpand all lines: docs/api/system-preferences.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -326,7 +326,7 @@ This API is only available on macOS 10.14 Mojave or newer.
326
326
*`window-frame-text` - The text in the window's titlebar area.
327
327
328
328
Returns `String` - The system color setting in RGB hexadecimal form (`#ABCDEF`).
329
-
See the [Windows docs][windows-colors] and the [MacOS docs][macos-colors] for more details.
329
+
See the [Windows docs][windows-colors] and the [macOS docs][macos-colors] for more details.
330
330
331
331
The following colors are only available on macOS 10.14: `find-highlight`, `selected-content-background`, `separator`, `unemphasized-selected-content-background`, `unemphasized-selected-text-background`, and `unemphasized-selected-text`.
Copy file name to clipboardexpand all lines: docs/development/build-instructions-macos.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ $ pip install pyobjc
42
42
If you're developing Electron and don't plan to redistribute your
43
43
custom Electron build, you may skip this section.
44
44
45
-
Official Electron builds are built with [Xcode 9.4.1](http://adcdownload.apple.com/Developer_Tools/Xcode_9.4.1/Xcode_9.4.1.xip), and the MacOS 10.13 SDK. Building with a newer SDK works too, but the releases currently use the 10.13 SDK.
45
+
Official Electron builds are built with [Xcode 9.4.1](http://adcdownload.apple.com/Developer_Tools/Xcode_9.4.1/Xcode_9.4.1.xip), and the macOS 10.13 SDK. Building with a newer SDK works too, but the releases currently use the 10.13 SDK.
0 commit comments