win: Remove dead menu code.

This commit is contained in:
Cheng Zhao 2014-07-21 10:42:52 +08:00
parent 73df08ebbf
commit 365638f1d5
9 changed files with 1 additions and 1216 deletions

View file

@ -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,