mathiasbynens/mothereff.in — Issue #2: Inconsistency between browsers
Author: suprMax
Created: 2011-11-29 16:13:27+00:00
State: open

You should probably normalize for inconsistencies between browsers. E.g. Gecko and Webkit makes like endings as "\n" which counts as one symbol, but Presto inserts "\r\n" which makes 2. I usually use .replace(/r\n\/g, '\n')