-
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
bugfix(issue #14): add in destroy method #27
base: master
Are you sure you want to change the base?
Conversation
Hi @chrisrng , can we add an example to the Demo product to demonstrate how to use the |
|
||
```javascript | ||
var memoryLeak = new Slider(document.getElementById('leakingSlider')); | ||
memoryLeak.destroy(true); |
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.
Non-blocking question, @chrisrng , can we expand the .destroy
accepted parameter to accept as object instead of a boolean flag? Perhaps define some good names as accepted object keys to be expressive by native object key names, and the values of the object keys would be your choice of appropriate data type, i.e.:
memoryLeak.destroy({
isCompleteDestroy: true
});
or
memoryLeak.destroy({
isDestroyRefrencesOnly: true
});
Think if one sets up the accepted parameter with object with meaningful named object keys to control the .destroy
API, it would pave the scalability of the .destroy
API, if the .destroy
API ever expands.
Any plans to merge this PR into master? Thank you. |
Hey @jimmyangel ! Unfortunately I no longer work at Priceline, left almost 2 years ago :) I think this PR is good to go tho ... 2 years ago haha |
@BeniCheni @jxnblk |
Sorry, we don't have any active maintainers for this project. It should probably be archived and clearly stated in the readme |
fwiw I think @chrisrng and myself would be more than happy to be maintainers for the project |
Think if anyone is interested in becoming maintainer(s) of Echoing @ jxnblk's previous comment, @ pricelinelabs doesn't have any active maintainer(s) to support |
Fixes issue #14