bentomas/node-mime — pull request #26 by jhermsmeier (2012-03-22 22:30:48+00:00)
Title: Various minor improvements

- Cosmetics (sorry, I know it's mostly personal taste,
but I had a moment of extreme boredom)

- Improved jsdoc comments

- Improved `mime.define()`

- moved variable declarations
to top of function

- cached `exts.length` in variable
to speed up the `for` loop

- Improved `mime.load()`

- moved variable declarations
to top of function

- made line split regex work
for Unix and Windows EOLs

- replaced `forEach` loop with
`for` loop (faster)