NestedTypes icon indicating copy to clipboard operation
NestedTypes copied to clipboard

Declaration of outcoming events

Open gaperton opened this issue 11 years ago • 2 comments

Ad-hoc events triggering complicates code dependencies analysis. It would be beneficial to enforce declarations of event names.

triggers : {
    'myEvent' : [ Model, Boolean ]
}

this.trigger.myEvent( this, true );

gaperton avatar Nov 30 '14 09:11 gaperton

I really liked this idea.

kkilictepe avatar Jun 10 '15 23:06 kkilictepe

Not now, at least.

gaperton avatar Aug 01 '16 23:08 gaperton