Browse Source

Add new menu.popup signature to planned breaking changes

Kevin Sawicki 8 years ago
parent
commit
55f90b4a4b
1 changed files with 9 additions and 0 deletions
  1. 9 0
      docs/tutorial/planned-breaking-changes.md

+ 9 - 0
docs/tutorial/planned-breaking-changes.md

@@ -57,6 +57,15 @@ crashReporter.start({
 })
 ```
 
+## `menu`
+
+```js
+// Deprecated
+menu.popup(browserWindow, 100, 200, 2)
+// Replace with
+menu.popup(browserWindow, {x: 100, y: 200, positioningItem: 2})
+```
+
 ## `nativeImage`
 
 ```js