eligrey/FileSaver.js — pull request #70 by minj (2014-02-20 19:43:25+00:00)
Title: saveAs.unload

When all references to the library are gone it still leaks into the `view` via the added `unload` listener.
This is important in contexts that are somewhat persistent, e. g. in Firefox add-ons the `view` corresponds to the browser window which persists until the browser is closed.

The PR adds a `saveAs.unload` function that can be called during cleanup to remove the unload listener.