This commit is contained in:
Cheng Zhao 2013-08-15 17:50:30 +08:00
parent e648689981
commit fc3bad0d4f

View file

@ -27,7 +27,7 @@ class MenuItem
@click = => @click = =>
if typeof click is 'function' if typeof click is 'function'
click.apply this, arguments click.apply this, arguments
else if typeof selector is 'string' else if typeof @selector is 'string'
Menu.sendActionToFirstResponder selector Menu.sendActionToFirstResponder @selector
module.exports = MenuItem module.exports = MenuItem