Skip to content

Fixed bug that prevented detach from being called on instance #169

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

Merged
merged 1 commit into from
May 4, 2017

Conversation

privard
Copy link
Contributor

@privard privard commented May 4, 2017

Detach method on instance is checking for this.withTracking, when it should be checking for trackingActive as defined in the init function. this.withTracking is out of scope in the instance detach method.

@marcj marcj merged commit ed6a88c into marcj:master May 4, 2017
@marcj
Copy link
Owner

marcj commented May 4, 2017

Good catch, thanks!

@privard
Copy link
Contributor Author

privard commented May 4, 2017

My pleasure. Do you have an ETA for the next release?

@marcj
Copy link
Owner

marcj commented May 4, 2017

No, but if you help me to test some browser with the master version I can kick out a release tonight/asap :)

@privard
Copy link
Contributor Author

privard commented May 4, 2017

I don't mind helping you out, although I don't have access to a lot of different browsers. Latest Chrome and latest Firefox on Mac; latest chrome on android. Do you have specific test cases I could do?

@marcj
Copy link
Owner

marcj commented May 5, 2017

I have nothing special, I just open the website (https://github.com/marcj/css-element-queries/tree/gh-pages) with newest css-element-queries lib and then try the demos in each browsers. Ususally Firefox, Chrome, Safari, IE 7,8,9,10,11. But I currently don't have windows at hand :)

@privard
Copy link
Contributor Author

privard commented May 5, 2017

Cool, I'll see what I can do. Would you be open to adding unit tests in the repo to check for basic functionalities too?

@marcj
Copy link
Owner

marcj commented May 6, 2017

Definitely! :) Wanted to do it already, but time is big factor :(

@privard
Copy link
Contributor Author

privard commented Jun 21, 2017

Finally found someone to help with the tests.
#173

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.

2 participants