aboutsummaryrefslogtreecommitdiff
path: root/node_simple.js
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-23 04:12:31 +0000
committerHumairAK <humair88@hotmail.com>2016-07-23 04:12:31 +0000
commiteefeb25d3fabf377c09dd6c7282f0992eb1afea1 (patch)
treef20e01c06ac71bf18d0ab446aa30a9d66aef52f5 /node_simple.js
parent0ccf1dc1b80fe2dff8f98538ffac673c6b326a57 (diff)
parent218b2c014b1ab68ee8289210820d7b6b742bceef (diff)
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 cf06e61..e7d619a 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';