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 70:
// per second
txt.value = txt.value.replace(/\/sec(\W)/gi, '/s$1');
txt.value = txt.value.replace(/\/sec\)/gi, '/s)$1');
 
txt.value = txt.value.replace(/(\d)\s?ft\/second/gi, '$1 ft/s');