1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

docstring

This commit is contained in:
David Baker
2016-01-29 11:29:14 +00:00
parent bbf3b2637a
commit 3d5e2937e2

View File

@@ -475,6 +475,12 @@ SyncApi.prototype._sync = function(syncOptions, attempt) {
}); });
}; };
/**
* Process data returned from a sync response and propagate it
* into the model objects
*
* @param {Object} data The response from /sync
*/
SyncApi.prototype._processSyncResponse = function(data) { SyncApi.prototype._processSyncResponse = function(data) {
var client = this.client; var client = this.client;
var self = this; var self = this;