aboutsummaryrefslogtreecommitdiff
path: root/node_simple.js
diff options
context:
space:
mode:
authorkumar <kumar.damani@mail.utoronto.ca>2016-07-23 02:21:51 +0000
committerkumar <kumar.damani@mail.utoronto.ca>2016-07-23 02:21:51 +0000
commite4a06d8a5f6af3be38333f5c1bb551fcbd6255cc (patch)
tree8711b096496daf8c632eba702cfbfa112925bb1c /node_simple.js
parent3db7f4e207c9566953050be88c6dcb9828a30ad3 (diff)
parent5240b6ff1bd881b482caba3dc3c1b30597fb1353 (diff)
a pull
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'node_simple.js')
-rw-r--r--node_simple.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_simple.js b/node_simple.js
index d3cf1e4..cc09be4 100644
--- a/node_simple.js
+++ b/node_simple.js
@@ -64,13 +64,13 @@ var exports = module.exports = {};
const debug_mode = false;
Object.assign = require('object-assign');
-var mongodb = require('mongodb');
-var mongoFactory = require('mongo-factory');
+var mongodb = exports.mongodb = require('mongodb');
+var mongoFactory = exports.mongoFactory = require('mongo-factory');
var ObjectId = require('mongodb').ObjectID;
var assert = require('assert');
// Standard URI format: mongodb://[dbuser:dbpassword@]host:port/dbname
-var uri = 'mongodb://general:assignment4@ds057862.mlab.com:57862/solutions_repo';
+var uri = exports.uri = 'mongodb://general:assignment4@ds057862.mlab.com:57862/solutions_repo';
// Keep this for testing on local machine, do not remove. - Humair
//var uri = 'mongodb://localhost:27017/db';