diff --git a/packages/ejson/ejson.js b/packages/ejson/ejson.js index 5798d9a5e4..29777e847b 100644 --- a/packages/ejson/ejson.js +++ b/packages/ejson/ejson.js @@ -10,8 +10,6 @@ var customTypes = {}; // - A equals() method, so that Meteor can compare it // - A toJSONValue() method, so that Meteor can serialize it // - a typeName() method, to show how to look it up in our type table. -// XXX GOING AWAY -// - A serializeForEval() method, so that Meteor can compile it into selectors. // It is okay if these methods are monkey-patched on. EJSON.addType = function (name, factory) { if (_.has(customTypes, name)) diff --git a/packages/minimongo/objectid.js b/packages/minimongo/objectid.js index 6e0679bcc6..60fd181a7c 100644 --- a/packages/minimongo/objectid.js +++ b/packages/minimongo/objectid.js @@ -52,11 +52,6 @@ LocalCollection._ObjectID.prototype.valueOf = LocalCollection._ObjectID.prototype.toHexString = function () { return this._str; }; -LocalCollection._ObjectID.prototype.serializeForEval = function () { - var self = this; - return "new LocalCollection._ObjectID(\"" + self._str + "\")"; -}; - // Is this selector just shorthand for lookup by _id? LocalCollection._selectorIsId = function (selector) { return (typeof selector === "string") ||