overleaf/services/document-updater/app/coffee/mongojs.coffee

8 lines
176 B
CoffeeScript
Raw Normal View History

2014-02-12 10:40:42 +00:00
Settings = require "settings-sharelatex"
mongojs = require "mongojs"
db = mongojs.connect(Settings.mongo.url, ["docOps"])
module.exports =
db: db
ObjectId: mongojs.ObjectId