josephg/ShareJS — pull request #115 by zamfi (2012-07-30 18:54:56+00:00)
Title: Fix attach_cm to use correct method names; add a mongo db module.

Two changes here:

* Fixed attach_cm (for CodeMirror) to use the right method (.getText instead of .getValue).
* Added a mongo.coffee wrapper module to use Mongo as a database backend. Mostly so I don't need to add more databases to my own app that uses sharejs. :)

I'm not super familiar with the code nor coffeescript -- please let me know if I've done anything in a non-ideal manner.

Thanks!