lib/Ext/device/filesystem/HTML5.js
function(config) {
                this.getEntry(
                    {
                        success: function(entry) {
                            if (config.recursively && this.directory) {
                                entry.removeRecursively(config.success, config.failure)
                            } else {
                                entry.remove(config.success, config.failure)
                            }
                        },
                        failure: config.failure
                    }
                )
            }
function(config) {
                this.getEntry(
                    {
                        success: function(entry) {
                            if (config.recursively && this.directory) {
                                entry.removeRecursively(config.success, config.failure)
                            } else {
                                entry.remove(config.success, config.failure)
                            }
                        },
                        failure: config.failure
                    }
                )
            }
Removes the entry from the file system.

@param {Object} config
The object which contains the following config options:

@param {Boolean} config.recursively This is optional
Deletes a directory and all of its contents

@param {Function} config.success This is optional.
The callback to be called when the entry has been successfully removed.

@param {Function} config.failure This is optional.
The callback to be called when an error occurred.

@param {Object} config.failure.error
The occurred error.

@param {Object} config.scope
The scope object