Skip to content

Moves event delegation to namespaced object#413

Open
stevenwanderski wants to merge 4 commits into
rails:masterfrom
stevenwanderski:overridable-event-handlers
Open

Moves event delegation to namespaced object#413
stevenwanderski wants to merge 4 commits into
rails:masterfrom
stevenwanderski:overridable-event-handlers

Conversation

@stevenwanderski

Copy link
Copy Markdown

Moving event handlers to a public namespace allows the handlers to be overriden by plugins.

Comment thread src/rails.js Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

space after the )

Comment thread src/rails.js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we didn't had this if guard before - what's the rationale behind it?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I wasn't sure about the logic behind this conditional, but instead of ripping it out I left it in. I'm assuming it has a reason for being there.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants