Comparing version 0.1.9 to 0.2.0
@@ -216,9 +216,2 @@ var mongo = require('mongodb'); | ||
that.close = function(callback) { | ||
callback = callback || noop; | ||
ondb.get(common.fork(callback, function(db) { | ||
db.close(callback); | ||
})); | ||
}; | ||
that.collection = function(name) { | ||
@@ -246,3 +239,3 @@ var oncollection = common.future(); | ||
var args = arguments; | ||
var callback = args[args.length-1]; | ||
var callback = args[args.length-1] || noop; | ||
@@ -249,0 +242,0 @@ ondb.get(common.fork(callback, function(db) { |
@@ -5,3 +5,3 @@ { | ||
"keywords": ["mongo", "db", "mongodb"], | ||
"version":"0.1.9", | ||
"version":"0.2.0", | ||
"homepage" : "https://github.com/gett/mongojs", | ||
@@ -8,0 +8,0 @@ "author": "Ge.tt <hello@ge.tt>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8390
228