Comparing version 0.7.9 to 0.7.10
@@ -245,3 +245,2 @@ var mongodb = require('mongodb'); | ||
var self = this; | ||
if (this[name]) return this[name]; | ||
@@ -255,3 +254,3 @@ var oncollection = thunky(function(callback) { | ||
return this[name] = new Collection(oncollection); | ||
return new Collection(oncollection); | ||
}; | ||
@@ -287,3 +286,3 @@ | ||
collections.forEach(function(colName) { | ||
that.collection(colName); | ||
that[colName] = that.collection(colName); | ||
}); | ||
@@ -290,0 +289,0 @@ |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.7.9", | ||
"version": "0.7.10", | ||
"repository": "git://github.com/gett/mongojs.git", | ||
@@ -12,0 +12,0 @@ "contributors": [ |
@@ -9,3 +9,3 @@ # mongojs | ||
mongojs is very simple to use: | ||
mongojs is easy to use: | ||
@@ -12,0 +12,0 @@ ``` js |
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
21237
551