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

Marionette views order #28

Merged
merged 1 commit into from
Sep 29, 2016
Merged

Conversation

eb-agustin
Copy link
Contributor

No description provided.

- **Outside** `Marionette.View` definition

0. `dependencies` requirement
0. `static` methods
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

functions istead of methods

0. `static` methods
0. `config` objects

- Ordering for `Marionette.View`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could say first life cycle methods as a clarification (so it doesn't need to be by extension and it can be by comprehension )

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I'm following you. Even referencing only the life cycle methods, I've received a specific order when it comes to ordering these methods. While I'm not proposing a strict order I think there is an implicit order anyway.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what you did is OK. I was suggesting adding between (and the remaining life cycle methods) so we don't have to mention every method. only the ones we care about (as you did)

@eb-agustin eb-agustin force-pushed the views-ordering branch 2 times, most recently from 17f66e1 to 608a500 Compare September 29, 2016 17:55
@gagoar gagoar merged commit e759e06 into eventbrite:master Sep 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants