Whitespace

This commit is contained in:
Slava Kim
2013-09-09 20:43:46 -07:00
parent b24066d477
commit f6e307e644

View File

@@ -1108,13 +1108,13 @@ LocalCollection._compileProjection = function (fields) {
else
delete res[key];
});
return res;
};
return function (obj) {
var res = transform(obj, projectionRulesTree);
if (_idProjection && _.has(obj, '_id'))
res._id = obj._id;
if (!_idProjection && _.has(res, '_id'))