Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove non-standard
contextMenus.create
The await keyword will work fine with the `create` function's return (without a Promise), so by skipping the Promisification of this function, it will work in more cases, namely when used with async/await. Unfortunately, this won't work with promise chaining (using `then()`), but that can be managed by wrapping the function with `Promise.resolve()`. I have another idea about how that could also be tackled... I'll open a separate PR in a bit. Fixes KeithHenry#23.
- Loading branch information