diff --git a/packages/ddp-server/livedata_server.js b/packages/ddp-server/livedata_server.js index 421f5419e48..b810801f2c1 100644 --- a/packages/ddp-server/livedata_server.js +++ b/packages/ddp-server/livedata_server.js @@ -18,6 +18,9 @@ var SessionDocumentView = function () { self.dataByKey = {}; // key-> [ {subscriptionHandle, value} by precedence] }; +DDPServer._SessionDocumentView = SessionDocumentView; + + _.extend(SessionDocumentView.prototype, { getFields: function () {