User:Bobblewik/monobook.js/unitformatter.js: Difference between revisions

Content deleted Content added
Bobblewik (talk | contribs)
mNo edit summary
Bobblewik (talk | contribs)
mNo edit summary
Line 75:
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');
 
// per hour
txt.value = txt.value.replace(/\/hr(\W)/gi, '/h$1');
 
// kilogram