-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api-history):
--disallow-comments
(#81)
* feat(api-history): `--check-descriptions` Reference: #78 (comment) * test(api-history): description test * fix(api-history): only double quotes * feat(api-history): `--disallow-comments` Reference: #79 * feat(api-history): traverse tree instead * fix(api-history): description `for` loop Co-authored-by: David Sanders <[email protected]> Reference: #80 (comment) * style(api-history): fix lint, leave comment --------- Co-authored-by: David Sanders <[email protected]>
- Loading branch information
1 parent
dacce87
commit 3d87b7b
Showing
5 changed files
with
138 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#### `win.setTrafficLightPosition(position)` _macOS_ _Deprecated_ | ||
|
||
<!-- | ||
```YAML history | ||
added: | ||
# comment | ||
- pr-url: https://github.com/electron/electron/pull/22533 | ||
changes: | ||
- pr-url: https://github.com/electron/electron/pull/26789 | ||
description: "Made `trafficLightPosition` option work for `customButtonOnHover`." | ||
deprecated: | ||
- pr-url: https://github.com/electron/electron/pull/37094 | ||
breaking-changes-header: deprecated-browserwindowsettrafficlightpositionposition | ||
``` | ||
--> | ||
|
||
Set a custom position for the traffic light buttons in frameless window. | ||
Passing `{ x: 0, y: 0 }` will reset the position to default. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#### `win.setTrafficLightPosition(position)` _macOS_ _Deprecated_ | ||
|
||
<!-- | ||
```YAML history | ||
added: | ||
- pr-url: https://github.com/electron/electron/pull/22533 | ||
changes: | ||
- pr-url: https://github.com/electron/electron/pull/26789 | ||
description: "Made `trafficLightPosition` option work for `customButtonOnHover`." | ||
deprecated: | ||
- pr-url: https://github.com/electron/electron/pull/37094 | ||
breaking-changes-header: deprecated-browserwindowsettrafficlightpositionposition # comment | ||
``` | ||
--> | ||
|
||
Set a custom position for the traffic light buttons in frameless window. | ||
Passing `{ x: 0, y: 0 }` will reset the position to default. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#### `win.setTrafficLightPosition(position)` _macOS_ _Deprecated_ | ||
|
||
<!-- | ||
```YAML history | ||
added: | ||
- pr-url: https://github.com/electron/electron/pull/22533 | ||
changes: | ||
- pr-url: https://github.com/electron/electron/pull/26789 | ||
description: "Made # `trafficLightPosition` ## option# work for # # `customButtonOnHover`.#" | ||
deprecated: | ||
- pr-url: https://github.com/electron/electron/pull/37094 | ||
breaking-changes-header: deprecated-browserwindowsettrafficlightpositionposition | ||
``` | ||
--> | ||
|
||
Set a custom position for the traffic light buttons in frameless window. | ||
Passing `{ x: 0, y: 0 }` will reset the position to default. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters