Mongo.getMutator() takes a "mongo record", then extracts the key, and possibly uses the data from it. Better would be to make getMutator() generally return a jQuery Deferred, and perform whatever adapter-specific activity needs to be done in that context.
Mongo.getMutator()
takes a "mongo record", then extracts the key, and possibly uses the data from it. Better would be to makegetMutator()
generally return a jQueryDeferred
, and perform whatever adapter-specific activity needs to be done in that context.