Merge branch 'devel' into release-1.6.1

This commit is contained in:
Ben Newman
2018-01-14 23:22:59 -05:00

View File

@@ -26,9 +26,6 @@ The default id generation technique is `'STRING'`.
*/
Mongo.Collection = class Collection {
constructor(name, options) {
if (! (this instanceof Mongo.Collection))
throw new Error('use "new" to construct a Mongo.Collection');
if (!name && (name !== null)) {
Meteor._debug("Warning: creating anonymous collection. It will not be " +
"saved or synchronized over the network. (Pass null for " +