Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 89:
// ohm
txt.value = txt.value.replace(/(\d)\s?(Y|Z|E|P|T|G|M|k|K|h|da|d|c|m|µ|μ|µ|n|p|f|a|z|y)?\s?(Ω|ohm|Ohm)s?(\W)/g, '$1 $2Ω$4');
//frames per second
txt.value = txt.value.replace(/frames\/sec(\W)/gi, 'frame/s$1');
txt.value = txt.value.replace(/frames\/s(\W)/gi, 'frame/s$1');
txt.value = txt.value.replace(/frame\/sec(\W)/gi, 'frame/s$1');
// mile per hour
|