Pita/etherpad-lite — pull request #728 by cweider (2012-05-23 23:54:45+00:00)
Title: Objectify DOMLine and ContentCollector

The pseudo object style was pretty painful, not to mention difficult to understand. This changes things to use constructors and prototypes. There’s a change this helps with performance (quite a bit of duplication without prototypes and I think these are frequently created objects), but it’s basically cosmetic.