Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration of outcoming events #59

Open
gaperton opened this issue Nov 30, 2014 · 2 comments
Open

Declaration of outcoming events #59

gaperton opened this issue Nov 30, 2014 · 2 comments

Comments

@gaperton
Copy link

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 );
@kkilictepe
Copy link

I really liked this idea.

@gaperton
Copy link
Author

gaperton commented Aug 1, 2016

Not now, at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants