-
Notifications
You must be signed in to change notification settings - Fork 59
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
Conversation
component = new TestComponent(); | ||
|
||
let config = { | ||
'data-on-click': 'handleClick' |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Thx.
5cbb433
to
62f8d28
Compare
@@ -451,6 +451,22 @@ describe('IncrementalDomRenderer', function() { | |||
}); | |||
|
|||
describe('Inline Listeners', function() { | |||
it('should shows the listener name in the dom element', function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo: shows
==> show
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
62f8d28
to
f9fa01e
Compare
Branch updated, guys. Thx for reviewing. |
04ae9e6
to
d7bac21
Compare
No description provided.