|
|
@@ -13,7 +13,7 @@ var DocumentSource = require('./DocumentSource');
|
|
|
var ProjectDocumentSource = module.exports = function ProjectDocumentSource(ctx, exprObj){
|
|
|
if (arguments.length > 2) throw new Error("up to two args expected");
|
|
|
base.call(this, ctx);
|
|
|
- this.OE = new ObjectExpression(exprObj);
|
|
|
+ this.OE = ObjectExpression.create();
|
|
|
this._raw = undefined;
|
|
|
this._variables = undefined;
|
|
|
}, klass = ProjectDocumentSource, base = require('./DocumentSource'), proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
|