win: Remove dead menu code.
This commit is contained in:
parent
73df08ebbf
commit
365638f1d5
9 changed files with 1 additions and 1216 deletions
|
@ -38,14 +38,6 @@ class MenuItem
|
|||
overrideProperty: (name, defaultValue=null) ->
|
||||
this[name] ?= defaultValue
|
||||
|
||||
# Update states when property is changed on Windows.
|
||||
return unless process.platform is 'win32'
|
||||
v8Util.setHiddenValue this, name, this[name]
|
||||
Object.defineProperty this, name,
|
||||
enumerable: true
|
||||
get: => v8Util.getHiddenValue this, name
|
||||
set: (val) => v8Util.setHiddenValue this, name, val
|
||||
|
||||
overrideReadOnlyProperty: (name, defaultValue=null) ->
|
||||
this[name] ?= defaultValue
|
||||
Object.defineProperty this, name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue