]> khamidou — GitHub mirrors - electron.git/commit
Fix menu-item using deprecated API
authorEran Tiktin <eran.t@mce-sys.com>
Sat, 21 Nov 2015 23:13:57 +0000 (01:13 +0200)
committerEran Tiktin <eran.t@mce-sys.com>
Sat, 21 Nov 2015 23:13:57 +0000 (01:13 +0200)
commit6db6842c14c3cd179c31581a42c51c7f71ae7f69
treeeb8690279fa76983252b667fc9b9ff70f90b0ae1
parentf374508a61f17bd23f994bfd7cfe8fddd33b7666
Fix menu-item using deprecated API

Some of the roles in menu-item use methods on BrowserWindow instead of
WebContents which outputs a deprecation warning.
I changed it to use the correct methods.
atom/browser/api/lib/menu-item.coffee