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

8 lines
176 B
CoffeeScript
Raw Normal View History

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