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 39:
 
// millimetre
//txt.value = txt.value.replace(/(\d)\s?mm(\W)/g, '$1 mm$2');
//txt.value = txt.value.replace(/(\d)\-mm(\W)/g, '$1 mm$2');
 
// kilometre
Line 68:
 
// millilitre
//txt.value = txt.value.replace(/(\d)\s?ml(\W)/g, '$1 ml$2');
//txt.value = txt.value.replace(/(\d)\-ml(\W)/g, '$1 ml$2');
 
// per second