I have problem with defining custom event in my app framework. Definition is correct, it works with calling it by this:
Y.one('#foo').on('event', fn)
but when I want to use it in app framework, in events section, it doesn't work. I tried with this code:
events: {
'.button': {
'event': 'functionName'
},
'.button': {
click: 'otherFn'
}