Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove test console.log

  • Loading branch information...
commit b4ec2cefa5893f419b1c2876555f0086012fbad7 1 parent 4a024c1
@JoshuaGross authored
Showing with 1 addition and 2 deletions.
  1. +0 −1  lib/mongoose-subpopulate.js
  2. +1 −1  package.json
View
1  lib/mongoose-subpopulate.js
@@ -360,7 +360,6 @@ function wrapModelObject (object) {
wrappedObject.__defineSetter__(attr, function (value) {
// Cache object references; Mongoose casts them to IDs and they're sort of lost.
if (value && value.mongooseLink) {
- console.log('set subpopulated value');
wrappedObject.populatedObjects[value._id] = value;
object[attr] = value.mongooseLink;
object.set(attr, value.mongooseLink);
View
2  package.json
@@ -1,6 +1,6 @@
{
"name": "mongoose-subpopulate",
- "version": "0.1.9",
+ "version": "0.1.10",
"main": "./lib/mongoose-subpopulate.js",
"scripts": {},
"repository": {
Please sign in to comment.
Something went wrong with that request. Please try again.