-
Notifications
You must be signed in to change notification settings - Fork 12
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
stop function to pause idle.js in certain occasion #2
Comments
👍 Note that you can do:
|
Nice found. Indeed we already have it here. Line 58 in ccd0d8c
|
Yep, but unfortunately that's broken. This PR fixes it: #5 |
@himdel we have an issue with removing the eventlistener. I did not have time to fix it. Currently the examples does not pass. If you have time to check it. If not I will work on it later today. |
@gabrielstuff Looking.. So far, looks like one of the issues is that And second issue.. somehow, the global object changed the name from With those changes (#14), the vanilla example works, |
even in the vanilla example, so the problem is in how we build |
Oh! It's in the source .. comes from f7db055, the (Also, it can't work because the function gets created separately for each event type, so the reference won't be the same:
) |
Fixed in #17 :) (And made a bunch more small PRs for things I noticed.) |
thank @himdel, now we have 1.1.2 https://github.com/soixantecircuits/idle-js/releases/tag/v1.1.2 which include all of your contribution. |
You can check out https://github.com/soixantecircuits/idle-vue/issues which depends on. For sure, you just gave a new breath to the project. Thanks a lot! |
Thanks @gabrielstuff , happy to hear that :). And thanks for making it easy :). As for idle-vue, looks like most issues are either resolved now, or vue specific, or resolved except for the vue specific bits :), |
No description provided.
The text was updated successfully, but these errors were encountered: