elabs/serenade.js — pull request #28 by kimptoc (2012-02-23 20:17:25+00:00)
Title: Test and fix to cater for Windows/crlf format view files

Changed the whitespace regex to look like this.

MULTI_DENT = /^(?:\r?\n[^\r\n\S]*)+/

WHITESPACE = /^[^\r\n\S]+/

Added some tests parsing unix and windows files.