mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
22 lines
863 B
JavaScript
22 lines
863 B
JavaScript
// ordered: bool.
|
|
// old_results and new_results: collections of documents.
|
|
// if ordered, they are arrays.
|
|
// if unordered, they are IdMaps
|
|
LocalCollection._diffQueryChanges = function (ordered, oldResults, newResults, observer, options) {
|
|
return DiffSequence.diffQueryChanges(ordered, oldResults, newResults, observer, options);
|
|
};
|
|
|
|
LocalCollection._diffQueryUnorderedChanges = function (oldResults, newResults, observer, options) {
|
|
return DiffSequence.diffQueryUnorderedChanges(oldResults, newResults, observer, options);
|
|
};
|
|
|
|
|
|
LocalCollection._diffQueryOrderedChanges =
|
|
function (oldResults, newResults, observer, options) {
|
|
return DiffSequence.diffQueryOrderedChanges(oldResults, newResults, observer, options);
|
|
};
|
|
|
|
LocalCollection._diffObjects = function (left, right, callbacks) {
|
|
return DiffSequence.diffObjects(left, right, callbacks);
|
|
};
|