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

Sets its name inside the listener function. Fixes #222 #223

Merged
merged 3 commits into from
Apr 3, 2017

Conversation

fernandosouza
Copy link
Contributor

No description provided.

component = new TestComponent();

let config = {
'data-on-click': 'handleClick'

Choose a reason for hiding this comment

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

I know it won't really affect the test, but wouldn't this usually be data-onclick?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, @Robert-Frampton, you are right. It will not affect the test but I'm going to change it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Thx.

@@ -451,6 +451,22 @@ describe('IncrementalDomRenderer', function() {
});

describe('Inline Listeners', function() {
it('should shows the listener name in the dom element', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

small typo: shows ==> show

Copy link
Contributor

@jbalsas jbalsas left a comment

Choose a reason for hiding this comment

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

LGTM

@robframpton robframpton self-requested a review March 31, 2017 16:33
Copy link

@robframpton robframpton left a comment

Choose a reason for hiding this comment

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

LGTM

@fernandosouza
Copy link
Contributor Author

Branch updated, guys. Thx for reviewing.

@robframpton robframpton merged commit 497d8cd into metal:master Apr 3, 2017
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