1 parent 69ad675 commit 9a57b5eCopy full SHA for 9a57b5e
1 file changed
reorder.js
@@ -37,12 +37,6 @@ if ("PerformanceObserver" in window) {
37
}
38
39
40
-function formatSize(bytes) {
41
- if (bytes < 1024) return `${bytes} B`;
42
- if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(0)} KB`;
43
- return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
44
-}
45
-
46
function escapeHtml(str) {
47
const div = document.createElement("div");
48
div.textContent = str;
0 commit comments