Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 69:
txt.value = txt.value.replace(/(\d)\s?ft\/second/gi, '$1 ft/s');
txt.value = txt.value.replace(/(\d)\s?m\/second/gi, '$1 m/s');
txt.value = txt.value.replace(/(\d)\s?km\/sec(\W)/gi, '$1 km/s$2');
txt.value = txt.value.replace(/frames\/s(\W)/gi, 'frame/s$1');
Line 163 ⟶ 160:
// bytes per second
txt.value = txt.value.replace(/([KkMmGg])(Bps|bytes?\/s)/g, ' $1B/s');
txt.value = txt.value.replace(/bytes?\/
// capitalization of prefix with bits and bytes
|