Skip to content
Browse files

removed cruff from examples

  • Loading branch information...
1 parent 4ec11e7 commit fde98bacc98e155810470781ddbb88a0c3815b6d @christkv christkv committed
View
4 examples/admin.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
View
4 examples/blog.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
View
4 examples/capped.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
View
4 examples/cursor.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
View
4 examples/gridfs.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server,
View
4 examples/index.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server,
View
5 examples/info.js
@@ -1,8 +1,3 @@
-GLOBAL.DEBUG = true;
-
-sys = require("sys");
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
View
4 examples/oplog.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server,
View
4 examples/queries.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
View
4 examples/replSetServersQueries.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server,
View
4 examples/replSetServersSimple.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Admin = require('../lib/mongodb').Admin,
DbCommand = require('../lib/mongodb/commands/db_command').DbCommand,
View
4 examples/simple.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
View
4 examples/strict.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server;
View
4 examples/types.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server,
View
4 examples/url.js
@@ -1,7 +1,3 @@
-GLOBAL.DEBUG = true;
-
-test = require("assert");
-
var Db = require('../lib/mongodb').Db,
connect = require('../lib/mongodb').connect;

0 comments on commit fde98ba

Please sign in to comment.
Something went wrong with that request. Please try again.