jprichardson/string.js — pull request #47 by daxxog (2013-06-16 00:24:03+00:00)
Title: added lines() function.

The basic functionality of the **lines()** function was useful. A cross platform method that would return an Array of lines. Unfortunately the previous method had the side effect of stripping unnecessary white space. My new method simply converts "Windows Style" (\r\n) lines to "Unix Style" (\n) lines. Then it just has to do split('\n') and now you have a classy cross platform **lines()** function.

**No white space was harmed in the making of this pull request.**