(entry)
| 689 | } |
| 690 | |
| 691 | var removeIt = function(entry) { |
| 692 | if (entry.isFile) { |
| 693 | entry.remove(successCallback, opt_errorHandler); |
| 694 | } else if (entry.isDirectory) { |
| 695 | entry.removeRecursively(successCallback, opt_errorHandler); |
| 696 | } |
| 697 | }; |
| 698 | |
| 699 | if (entryOrPath.isFile || entryOrPath.isDirectory) { |
| 700 | removeIt(entryOrPath); |