Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
// Fixes a leak with a DOM element that was palces in the someObject
tinymce.addUnload(function() {
// Null DOM element to reduce IE memory leak
someObject.someElement = null;
});
| Name | Type | Description |
|---|---|---|
| f | function | Function to execute before the document gets unloaded. |
| s | Object | Optional scope to execute the function in. |