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

#68 don't close RootCloseWrapper on right clicks #69

Closed
wants to merge 4 commits into from

Conversation

adamziel
Copy link
Contributor

re #68


simulant.fire(document.getElementById('my-div'), 'click', {button: 1});

expect(spy).to.have.been.called;
Copy link
Member

Choose a reason for hiding this comment

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

Should be the opposite, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, thanks

@@ -10,6 +10,14 @@ const CLICK_WAS_INSIDE = '__click_was_inside';

let counter = 0;

function isLeftClickEvent(event) {
return event.button === 0
Copy link
Member

Choose a reason for hiding this comment

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

NIT: Do we use semicolons in this repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why so strict when semicolon insertion keeps you safe? :-)
http://www.ecma-international.org/ecma-262/5.1/#sec-7.9

Copy link
Member

Choose a reason for hiding this comment

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

Yes, but we still want consistency in code style.

@jquense
Copy link
Member

jquense commented Mar 18, 2016

LGTM

@taion
Copy link
Member

taion commented Mar 18, 2016

LGTM. @adamziel mind squashing?

@adamziel
Copy link
Contributor Author

@taion squash :-)

@taion
Copy link
Member

taion commented Mar 18, 2016

I'll squash and merge by hand then.

@taion
Copy link
Member

taion commented Mar 18, 2016

Merged in f1528af.

@taion taion closed this Mar 18, 2016
@taion
Copy link
Member

taion commented Mar 18, 2016

@jquense Can this be v0.6.1?

@jquense
Copy link
Member

jquense commented Mar 18, 2016

sure, no time to release now tho for me.

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.

None yet

3 participants