| 52 | '@resource', |
| 53 | ]; |
| 54 | export const formatSizesStr = str => str |
| 55 | .slice(0, -1) // drop space |
| 56 | .replace(/\x20/g, '\xA0') // prevent wrapping for big space-separated numbers |
| 57 | .replace(/[^B]$/gm, '$&B'); // add B to units e.g.g M -> MB |
| 58 | |
| 59 | export let K_SAVE; // deduced from the current CodeMirror keymap |
| 60 |