Remove the JavaScript wrapper for setContextMenu

This commit is contained in:
Cheng Zhao 2016-05-20 16:18:38 +09:00
parent adfd99f5f0
commit 67d9ae27c3
3 changed files with 5 additions and 10 deletions

View file

@ -3,11 +3,4 @@ const {Tray} = process.atomBinding('tray')
Object.setPrototypeOf(Tray.prototype, EventEmitter.prototype)
Tray.prototype.setContextMenu = function (menu) {
this._setContextMenu(menu)
// Keep a strong reference of menu.
this.menu = menu
}
module.exports = Tray