Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

2 - Convenience method for destroying FU instance when using jQuery wrapper #1189

Closed
rnicholus opened this issue Apr 23, 2014 · 1 comment
Closed

Comments

@rnicholus
Copy link
Member

This may be useful for SPAs. Currently, there is no easy way to do this. Without the help of Fine Uploader, you need to do this:

delete $("#myFineUploaderContainer").data("fineuploader").uploader;

That's pretty ugly though. You probably want to reset Fine Uploader first as well. We'll need to see if anything else needs to be done internally, such as unbinding event handlers.

@rnicholus rnicholus changed the title Convenience method for destroying FU instance when using jQuery wrapper 2 - Convenience method for destroying FU instance when using jQuery wrapper May 6, 2014
@rnicholus
Copy link
Member Author

I plan to remove the jQuery wrapper in #1310 as part of 6.0, so this case is no longer needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant